[php-src] PR #23521: ext/standard: Fix 1-char relative Location redirects after GH-23467

From: Date: Mon, 31 Aug 2026 17:27:45 +0000
Subject: [php-src] PR #23521: ext/standard: Fix 1-char relative Location redirects after GH-23467
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-38235@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/23521 Author: jordikroon Follow-up to 8196275133e (GH-23467), which introduced a small regression. The new check (location_len > 0) also changed how single-character relative redirects are resolved. The old check only applied to locations of 2 characters or more. Before: Location: x from http://host/a/b redirected to http://host/x After: it redirects to http://host/a//x`

« previous php.git-pulls (#38235) next »