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
F26187474: D1170.id2990.diff
Mon, Apr 20, 18:52
F26187254: D1170.id2991.diff
Mon, Apr 20, 18:49
F26149363: D1170.diff
Mon, Apr 20, 12:10
Unknown Object (File)
Sat, Apr 11, 00:46
Unknown Object (File)
Tue, Mar 31, 01:07
Unknown Object (File)
Mon, Mar 30, 18:59
Unknown Object (File)
Fri, Mar 27, 16:57
Unknown Object (File)
Fri, Mar 27, 08:36
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
No Lint Coverage
Unit
No Test Coverage
Branch
QUERY_STRING
Build Status
Buildable 1841
Build 2089: arc lint + arc unit

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.