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
F34892235: D1170.id2991.diff
Fri, Jul 3, 16:36
F34849115: D1170.id.diff
Fri, Jul 3, 09:06
F34753566: D1170.id2990.diff
Thu, Jul 2, 22:32
Unknown Object (File)
Thu, Jul 2, 05:51
Unknown Object (File)
Thu, Jun 25, 20:39
Unknown Object (File)
Wed, Jun 24, 00:30
Unknown Object (File)
Wed, Jun 24, 00:28
Unknown Object (File)
Wed, Jun 24, 00:28
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.