Page MenuHomeDevCentral

Ignore empty PATH_INFO string
ClosedPublic

Authored by dereckson on Nov 3 2017, 22:30.
Referenced Files
F10870014: D1165.diff
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
Unknown Object (File)
Mon, Jul 28, 11:03
Unknown Object (File)
Sat, Jul 26, 16:52
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