https://bz.apache.org/bugzilla/show_bug.cgi?id=57448

Sam Liddicott <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |regression
                 CC|                            |[email protected]

--- Comment #14 from Sam Liddicott <[email protected]> ---
I'm marking this as regression because as initially reported it breaks sites
that were working on prior versions.

With the current state of this bug, this is the rigmarole I have to go through
simply to impersonate the current directory index header, before I get to
customise it with new content:

<!-- Strip the Query-string -->
<!--#if expr='v("REQUEST_URI") =~ /^([^?]*)/ && $1 =~ /(.*)/' -->
<!--#set var="request" value="$0" -->
<!--#else -->
<!--#set var="request" value="${REQUEST_URI}" -->
<!--#endif -->
<!-- strip the final / unless it is the first / -->
<!--#if expr='v("request") =~ /(\x2F.*)\x2F/ && $1 =~ /(.*)/' -->
<!--#set var="request" value="$0" ->
<!--#endif -->
<h1>Index of <!--#echo encoding="entity" var="request" --></h1>

Thanks to Helge & Igmar for showing this work-around.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to