Page MenuHomeDevCentral

Ignore empty PATH_INFO string
ClosedPublic

Authored by dereckson on Nov 3 2017, 22:30.
Referenced Files
F7601329: D1165.id2975.diff
Tue, Apr 29, 13:04
F7588279: D1165.id2980.diff
Tue, Apr 29, 07:02
F7553549: D1165.diff
Mon, Apr 28, 16:31
Unknown Object (File)
Mon, Apr 28, 10:08
Unknown Object (File)
Sun, Apr 27, 23:50
Unknown Object (File)
Sat, Apr 26, 19:24
Unknown Object (File)
Sat, Apr 26, 08:06
Unknown Object (File)
Fri, Apr 25, 17:18
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