Page MenuHomeDevCentral

Ignore empty PATH_INFO string
ClosedPublic

Authored by dereckson on Nov 3 2017, 22:30.
Referenced Files
Unknown Object (File)
Sat, Apr 5, 16:21
Unknown Object (File)
Wed, Apr 2, 19:18
Unknown Object (File)
Wed, Apr 2, 15:57
Unknown Object (File)
Tue, Apr 1, 00:04
Unknown Object (File)
Sun, Mar 30, 00:16
Unknown Object (File)
Wed, Mar 26, 03:03
Unknown Object (File)
Mon, Mar 24, 08:05
Unknown Object (File)
Sun, Mar 23, 07:37
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