HomeDevCentral

Ignore empty PATH_INFO string

Description

Ignore empty PATH_INFO string

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 "".

Reviewers: dereckson

Reviewed By: dereckson

Tags: Keruald

Differential Revision: https://devcentral.nasqueron.org/D1165

Details

Provenance
derecksonAuthored on Nov 3 2017, 21:58
derecksonPushed on Nov 4 2017, 01:00
Reviewer
dereckson
Differential Revision
D1165: Ignore empty PATH_INFO string
Parents
rTOOLSb6be10141e17: Initialize MySQL instance when needed
Branches
Unknown
Tags
Unknown
Tasks
T1294: Dockerize tools.nasqueron.org