Comments (4)
That's the line I was talking about. Using the f:format.raw viewhelper fixed that problem for our use-case. But this should be handled in a another issue. I will create another one and can give you a PR after some testing.
Never than less, I think it would be nice, to have the option, to customize the template by using my own one. There are for sure other use-cases where a customized template come in handy.
from staticfilecache.
Do you mean this line:
https://github.com/lochmueller/staticfilecache/blob/master/Resources/Private/Templates/Htaccess.html#L25
Perhaps we should add some <f:format.raw>. Sound like a Bug in the current template, right?
from staticfilecache.
I'd rather disable escaping for the whole file?
https://usetypo3.com/24-fluid-tips.html#c449
This could break the .htaccess
sometimes (e.g. when any value contains quotes), even without the user noticing it in first place.
However I'd also enable overriding this template, so others can extend/adjust it to their needs.
from staticfilecache.
Good point. I will check both (disable escape and templatePath configuration) in the next days/weeks.
from staticfilecache.
Related Issues (20)
- Version 12.5.0 is not in TER HOT 2
- No SFC and custom headers when using the fallback middleware HOT 6
- ActionMenuViewHelper extends from final class HOT 1
- TYPO3 12 HOT 1
- False (?) INTincScript warning with TYPO3 12 HOT 10
- TER release version 13 HOT 6
- Workspace Preview not working HOT 3
- HttpOnly flag for cookies HOT 1
- Warning INTScript TYPO3 11 HOT 2
- Add .css.gz and .js.gz to .htaccess example HOT 1
- Parse Error: Classes/Service/CookieService.php HOT 2
- .gz conflict with compressed core files HOT 1
- Core: Exception handler (CLI): Uncaught TYPO3 Exception Error HOT 2
- Commands should follow Interface constraints from `symfony/console:v7` HOT 1
- compatibility issue within the 'execute' method of a Command in Symfony Console version 7 HOT 1
- staticfilecache breaks on symfony/console v7.0.3 HOT 1
- TYPO3 v13: TypoScriptFrontendController::isStaticCacheble() is now internal HOT 1
- Fatal error after Update to symfony/console v7.0.4 HOT 1
- Docu htaccess file HOT 1
- PHP Warning: rename HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from staticfilecache.