Page MenuHomeDevCentral

Ignore empty PATH_INFO string
ClosedPublic

Authored by dereckson on Nov 3 2017, 22:30.
Referenced Files
F11747548: D1165.diff
Fri, Sep 19, 19:18
Unknown Object (File)
Fri, Sep 19, 12:45
Unknown Object (File)
Thu, Sep 18, 02:06
Unknown Object (File)
Wed, Sep 17, 12:17
Unknown Object (File)
Tue, Sep 16, 22:22
Unknown Object (File)
Mon, Sep 15, 22:28
Unknown Object (File)
Sat, Sep 13, 13:09
Unknown Object (File)
Fri, Sep 12, 17:36
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