Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Docs

[Bug 53196] Rewrite examples forget to encode the query string?

 

 

Apache docs RSS feed   Index | Next | Previous | View Threaded


bugzilla at apache

May 5, 2012, 3:33 AM

Post #1 of 4 (315 views)
Permalink
[Bug 53196] Rewrite examples forget to encode the query string?

https://issues.apache.org/bugzilla/show_bug.cgi?id=53196

--- Comment #1 from Alan <alan.christopher.jenkins [at] gmail> ---
Ah, I see my solution was missing a

RewriteMap encode int:escape

which means this wasn't as friendly as I thought: you can't use it in
.htaccess.

--
You are receiving this mail because:
You are the assignee for the bug.


bugzilla at apache

May 5, 2012, 3:42 AM

Post #2 of 4 (303 views)
Permalink
[Bug 53196] Rewrite examples forget to encode the query string? [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=53196

--- Comment #2 from Alan <alan.christopher.jenkins [at] gmail> ---
It looks like a much better solution would be to use the flag [B], to "escape
non-alphanumerics before applying the transformation". So this can be fixed
nicely.

Credit goes to <http://www.dracos.co.uk/code/apache-rewrite-problem/>.

--
You are receiving this mail because:
You are the assignee for the bug.


bugzilla at apache

May 5, 2012, 3:51 AM

Post #3 of 4 (303 views)
Permalink
[Bug 53196] Rewrite examples forget to encode the query string? [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=53196

--- Comment #3 from Alan <alan.christopher.jenkins [at] gmail> ---
...fixed nicely, that is, for the specific front-controller pattern in the
description. For everything else, it breaks, because '/' is non-alphanumeric
and apache refuses to handle %2F as a path separator. (Is that even legal?)

--
You are receiving this mail because:
You are the assignee for the bug.


bugzilla at apache

May 5, 2012, 4:47 AM

Post #4 of 4 (302 views)
Permalink
[Bug 53196] Rewrite examples forget to encode the query string? [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=53196

Eric Covener <covener [at] gmail> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID

--- Comment #4 from Eric Covener <covener [at] gmail> ---
I don't think the examples should be complicated with encoding the capture
copied into the path or query string. There's ample coverage of the options in
the reference manual.

--
You are receiving this mail because:
You are the assignee for the bug.

Apache docs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.