Page MenuHomeDevCentral

Ignore empty PATH_INFO string
ClosedPublic

Authored by dereckson on Nov 3 2017, 22:30.
Referenced Files
Unknown Object (File)
Thu, Jun 5, 18:31
Unknown Object (File)
Sun, Jun 1, 02:00
Unknown Object (File)
Sat, May 31, 07:04
Unknown Object (File)
Fri, May 30, 11:49
Unknown Object (File)
Fri, May 30, 09:48
Unknown Object (File)
Thu, May 29, 23:28
Unknown Object (File)
Mon, May 19, 01:00
Unknown Object (File)
Sat, May 10, 22:33
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