Page MenuHomeDevCentral

Ignore empty PATH_INFO string
ClosedPublic

Authored by dereckson on Nov 3 2017, 22:30.
Referenced Files
Unknown Object (File)
Tue, Dec 17, 04:30
Unknown Object (File)
Sun, Dec 15, 05:21
Unknown Object (File)
Fri, Dec 13, 09:59
Unknown Object (File)
Sat, Dec 7, 19:55
Unknown Object (File)
Wed, Dec 4, 15:46
Unknown Object (File)
Sat, Nov 30, 05:30
Unknown Object (File)
Sat, Nov 30, 05:10
Unknown Object (File)
Fri, Nov 29, 05:04
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