mod_ssi doesn't accept single quotes
Recently moved a site from Apache to lighttpd. The only problem was the fact that lighttpd refused to interpret our SSI includes, which use single quotes, as so:
<!--#include virtual='/includes/head.txt' -->
A sed script was the solution for now, but I think it should be considered to allow the use of single quotes in SSI.
Updated by stbuehler over 13 years ago
- Status changed from New to Fixed
- Resolution set to wontfix
Here is the regular expression the ssi commands are "parsed" with:
I don't see how to allow single quotes there... sry. And we will not rewrite mod_ssi for 1.4, ssi isn't worth that imho.
If you have a regex which gives the same result and accepts single quotes just post it :)
Updated by marc over 12 years ago
- Status changed from Wontfix to Reopened
- Assignee set to stbuehler
- Target version changed from 1.4.21 to 1.4.24
The following regular expression would match with both "(double) and '(simple) quotes:
Also available in: Atom