Page MenuHomeDevCentral

Ignore empty PATH_INFO string
ClosedPublic

Authored by dereckson on Nov 3 2017, 22:30.
Referenced Files
F12367416: D1165.id.diff
Thu, Oct 30, 03:24
Unknown Object (File)
Mon, Oct 27, 14:51
Unknown Object (File)
Fri, Oct 24, 18:38
Unknown Object (File)
Mon, Oct 20, 13:20
Unknown Object (File)
Sat, Oct 18, 03:20
Unknown Object (File)
Fri, Oct 17, 20:59
Unknown Object (File)
Fri, Oct 17, 15:41
Unknown Object (File)
Fri, Oct 17, 13:43
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