Page MenuHomeDevCentral

Ignore empty PATH_INFO string
ClosedPublic

Authored by dereckson on Nov 3 2017, 22:30.
Referenced Files
F10871810: D1165.id2980.diff
Sat, Aug 2, 12:02
F10870758: D1165.id2980.diff
Sat, Aug 2, 07:32
Unknown Object (File)
Sat, Aug 2, 03:30
Unknown Object (File)
Wed, Jul 30, 11:36
Unknown Object (File)
Wed, Jul 30, 01:32
Unknown Object (File)
Wed, Jul 30, 00:30
Unknown Object (File)
Mon, Jul 28, 17:00
Unknown Object (File)
Mon, Jul 28, 11:33
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