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
F3302799: D1170.id2991.diff
Wed, Jul 3, 01:44
F3302064: D1170.diff
Tue, Jul 2, 21:57
F3300825: D1170.id2990.diff
Tue, Jul 2, 15:56
Unknown Object (File)
Fri, Jun 28, 18:12
Unknown Object (File)
Fri, Jun 28, 15:14
Unknown Object (File)
Fri, Jun 28, 09:32
Unknown Object (File)
Thu, Jun 27, 07:20
Unknown Object (File)
Wed, Jun 26, 00:46
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.