Project

General

Profile

Actions

Feature #66118

closed

Relax identifiers for caching framework

Added by Jost Baron about 9 years ago. Updated almost 9 years ago.

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

0%

Estimated time:
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.

Actions #1

Updated by Jost Baron about 9 years ago

Same for the / character.

Actions #2

Updated by Xavier Perseguers about 9 years ago

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

Actions #3

Updated by Jost Baron about 9 years ago

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

Would be fine by me to close this.

Actions #4

Updated by Riccardo De Contardi almost 9 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.

Actions

Also available in: Atom PDF