Page MenuHomeDevCentral

Ignore empty PATH_INFO string
ClosedPublic

Authored by dereckson on Nov 3 2017, 22:30.
Referenced Files
F4640563: D1165.id2980.diff
Fri, Feb 21, 11:59
Unknown Object (File)
Thu, Feb 20, 10:33
Unknown Object (File)
Tue, Feb 18, 10:19
Unknown Object (File)
Sun, Feb 16, 11:28
Unknown Object (File)
Sun, Feb 16, 04:33
Unknown Object (File)
Sun, Feb 16, 04:33
Unknown Object (File)
Sun, Feb 16, 03:55
Unknown Object (File)
Sun, Feb 16, 03:34
Subscribers
None

Details

Summary

If a webserver defines PATH_INFO, but with an empty string,
get_current_url() currently returns an empty string.

We now skip this detection method.

This isn't an issue not to trust "" or "0" values,
as we've better ways to detect this.

Test Plan

Fire a Docker container with a php-fpm receiving
PATH_INFO through nginx to "".

Diff Detail

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