Feature #66118

Relax identifiers for caching framework

Added by Jost Baron over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Caching
Target version:
-
Start date:
2015-03-29
Due date:
% Done:

0%

PHP Version:
Tags:
Complexity:
no-brainer
Sprint Focus:

Description

The identifiers for the caching framework must currently adhere to this pattern:

^[a-zA-Z0-9_%\\-&]{1,250}$

I think this pattern is too strict. Some cache identifiers could contain arbitrary characters. Since allowing arbitrary characters is not a good idea, one should encode these values. Base64 comes to mind, but that wouldn't be allowed, too - equal signs are not allowed.

So please add at least the equals sign to the pattern.

History

#1 Updated by Jost Baron over 4 years ago

Same for the / character.

#2 Updated by Xavier Perseguers over 4 years ago

What about sha1() instead of base64? Then you don't need equal sign.

#3 Updated by Jost Baron over 4 years ago

I suppose that is a way to deal with this - thanks.

Would be fine by me to close this.

#4 Updated by Riccardo De Contardi about 4 years ago

  • Status changed from New to Closed

Closed on request of the reporter.

If you think that this is the wrong decision, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Also available in: Atom PDF