vhs icon indicating copy to clipboard operation
vhs copied to clipboard

Add option to disable strtolower() in SanitizeStringViewHelper

Open No5251 opened this issue 5 years ago • 2 comments

Add an option to the viewhelper to bypass strtolower().

No5251 avatar Mar 20 '19 15:03 No5251

Do we want to add a general $case parameter, like we have in Format/CaseViewHelper? But then not duplicating all the options? Or how far do we want to go?

neufeind avatar Oct 18 '19 07:10 neufeind

I'm not sure what the use case is for case sensitive sanitisation. The ViewHelper was written to write URL slugs/anchors which don't really benefit from case sensitivity. If you could describe a bit about the use case that would help me understand the request or suggest the right approach for your case sensitive use case.

If we add this, it shouldn't be as a general case parameter (since this requires TYPO3 CMS specific classes to handle). If anything we should keep it simple.

NamelessCoder avatar Oct 18 '19 09:10 NamelessCoder

Closing due to lack of feedback.

NamelessCoder avatar Jul 15 '23 18:07 NamelessCoder