Page MenuHomeDevCentral

Ignore empty PATH_INFO string
ClosedPublic

Authored by dereckson on Nov 3 2017, 22:30.
Referenced Files
Unknown Object (File)
Tue, Apr 23, 01:57
Unknown Object (File)
Tue, Apr 23, 01:57
Unknown Object (File)
Mon, Apr 22, 18:26
Unknown Object (File)
Fri, Apr 19, 12:27
Unknown Object (File)
Thu, Apr 18, 20:25
Unknown Object (File)
Mon, Apr 15, 03:28
Unknown Object (File)
Fri, Apr 12, 07:32
Unknown Object (File)
Wed, Apr 10, 16:57
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