Page MenuHomeDevCentral

Ignore empty PATH_INFO string
ClosedPublic

Authored by dereckson on Nov 3 2017, 22:30.
Referenced Files
Unknown Object (File)
Fri, Nov 15, 07:58
Unknown Object (File)
Tue, Nov 12, 07:28
Unknown Object (File)
Sat, Nov 9, 03:01
Unknown Object (File)
Mon, Nov 4, 07:40
Unknown Object (File)
Wed, Oct 30, 09:04
Unknown Object (File)
Sat, Oct 26, 21:40
Unknown Object (File)
Sat, Oct 26, 14:13
Unknown Object (File)
Wed, Oct 23, 06:26
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