akamai_developer_toolkit icon indicating copy to clipboard operation
akamai_developer_toolkit copied to clipboard

Couldn't purge 7-digits CPCODE.

Open xcir opened this issue 4 years ago • 0 comments

Current behavior

Recently created CPCODE has 7-digits. But, code is fixed at 6-digits. It's treated as a cache-tag and can't be purged. https://github.com/akamai/akamai_developer_toolkit/blob/master/fastpurge/fastpurge-bg.js#L98

Possible Solution

modify CPCODE match pattern to

/^\d{6,7}$/

xcir avatar Jan 21 '21 07:01 xcir