Page MenuHomeDevCentral

Ignore empty PATH_INFO string
ClosedPublic

Authored by dereckson on Nov 3 2017, 22:30.
Referenced Files
F10837003: D1165.diff
Mon, Jul 28, 11:33
F10836426: D1165.id2975.diff
Mon, Jul 28, 11:03
Unknown Object (File)
Sat, Jul 26, 16:52
Unknown Object (File)
Fri, Jul 25, 20:18
Unknown Object (File)
Mon, Jul 21, 22:40
Unknown Object (File)
Mon, Jul 14, 10:07
Unknown Object (File)
Fri, Jul 11, 15:45
Unknown Object (File)
Thu, Jul 10, 18:01
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