Page MenuHomeDevCentral

Handle correctly QUERY_STRING when it's different from REQUEST_URI
ClosedPublic

Authored by dereckson on Nov 4 2017, 03:32.
Tags
None
Referenced Files
F24759891: D1170.id.diff
Mon, Mar 9, 14:06
Unknown Object (File)
Mon, Mar 9, 08:19
Unknown Object (File)
Sun, Mar 8, 13:46
Unknown Object (File)
Fri, Mar 6, 20:03
Unknown Object (File)
Thu, Mar 5, 23:49
Unknown Object (File)
Mon, Mar 2, 13:07
Unknown Object (File)
Sun, Mar 1, 03:31
Unknown Object (File)
Sat, Feb 28, 10:32
Subscribers
None

Details

Summary

If the server redirects URLs to a specific query string (the Apache
configuration for Espace Win did exactly that, and /screen/color/879497
can be handled like that too), to remove characters from REQUEST_URI
counting QUERY_STRING doesn't work, as the two diverge.

Ref T1294

Test Plan
  • config: set AllowTopicArticleRequest at true
  • nginx: rewrite ^/color/screen/(.+)$ /?Topic=color-screen&Color=$1;

Diff Detail

Repository
rTOOLS Nasqueron Tools
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Nov 4 2017, 03:34
This revision was automatically updated to reflect the committed changes.