Bug #81670 [NEW]: Access log contains wrong values for "%r" (request URI) format string
| From: | amenshchikov at gmail dot com | Date: | Sun, 28 Nov 2021 18:55:03 +0000 |
| Subject: | Bug #81670 [NEW]: Access log contains wrong values for "%r" (request URI) format string | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-238018@lists.php.net to get a copy of this message | ||
From: amenshchikov at gmail dot com
Operating system: Debian 11
PHP version: 8.1.0
Package: FPM related
Bug Type: Bug
Bug description:Access log contains wrong values for "%r" (request URI) format string
Description:
------------
Instead of real request URI (without query string), that contained in
REQUEST_URI env variable, "%r" outputs SCRIPT_NAME value into access
log.
In case I need request URI with query string, I can use
"%{REQUEST_URI}e" and there is no problem. But when I need request URI
without query string (as it intended with "%r") I don't know what to do.
--
Edit bug report at https://bugs.php.net/bug.php?id=81670&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=81670&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=81670&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=81670&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=81670&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=81670&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=81670&r=support
Expected behavior: https://bugs.php.net/fix.php?id=81670&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=81670&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=81670&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=81670&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=81670&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=81670&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=81670&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=81670&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=81670&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=81670&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=81670&r=mysqlcfg