Page MenuHomeDevCentral

Ignore empty PATH_INFO string
ClosedPublic

Authored by dereckson on Nov 3 2017, 22:30.
Referenced Files
F52411637: D1165.id2975.diff
Fri, Oct 2, 12:29
F52399246: D1165.id2980.diff
Fri, Oct 2, 10:51
F52333122: D1165.id2980.diff
Fri, Oct 2, 00:23
Unknown Object (File)
Tue, Sep 29, 10:00
Unknown Object (File)
Tue, Sep 29, 01:16
Unknown Object (File)
Mon, Sep 28, 12:48
Unknown Object (File)
Sun, Sep 27, 21:31
Unknown Object (File)
Sun, Sep 27, 04:14
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
No Lint Coverage
Unit
No Test Coverage
Branch
fix-path-info
Build Status
Buildable 1831
Build 2079: arc lint + arc unit