Giter Club home page Giter Club logo

Comments (4)

codemonkey1988 avatar codemonkey1988 commented on May 18, 2024 1

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.

lochmueller avatar lochmueller commented on May 18, 2024

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.

jdoubleu avatar jdoubleu commented on May 18, 2024

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.

lochmueller avatar lochmueller commented on May 18, 2024

Good point. I will check both (disable escape and templatePath configuration) in the next days/weeks.

from staticfilecache.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.