79170031

Date: 2024-11-08 12:31:14
Score: 2
Natty:
Report link

Im having issues with // in requests so have used -

RewriteCond %{REQUEST_URI} ^(.)/{2,}(.)$ RewriteRule (.*) %1/%2

It tests correctly and does give a result changing the // to / but the destination page whilst served does not render correctly depending on the // position.

EG - https://www.brickfieldspark.org//data/greaterwaterboatman.htm renders correctly but - https://www.brickfieldspark.org/data//greaterwaterboatman.htm does not render -

I believe the served page image links - <a href="../images - are being mangled in some way ??, IE "jump back one level and go to images" is corrupted by the position of the //

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Mike Hatch