Bug #1768
mod_ssi doesn't accept single quotes
| Status: | Wontfix | Start: | ||
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | mod_ssi | |||
| Target version: | 1.4.21 | |||
| Pending: | No |
Resolution: | wontfix |
|
| Patch available: |
Description
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.
-- mwild1
History
09/30/2008 08:24 PM - stbuehler
- Status changed from New to Fixed
- Resolution set to wontfix
Here is the regular expression the ssi commands are "parsed" with:
<!--#([a-z]+)\\s+(?:([a-z]+)=\"(.*?)(?<!\\\\)\"\\s*)?(?:([a-z]+)=\"(.*?)(?<!\\\\)\"\\s*)?-->
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 :)