Project

General

Profile

Actions

Bug #1636

closed

lighttpd-1.4.18-1 (on F-7) does not escape %% to %.

Added by Anonymous about 16 years ago. Updated over 15 years ago.

Status:
Fixed
Priority:
Normal
Category:
core
Target version:
ASK QUESTIONS IN Forums:

Description

The broken logic is at http://trac.lighttpd.net/trac/browser/branches/lighttpd-1.4.x/src/mod_rewrite.c#L388

This bug makes it impossible to perform URL escaping via mod_rewrite since there's no way to generate the % characters.

To reproduce, write a rewrite-rule that attempts to convert

'/\+' => '/%%2B'

and use 'curl -I SERVER/+' or similar to generate a request. Then examine your error logs.

-- Michael Stone <michael

Actions #1

Updated by stbuehler over 15 years ago

  • Status changed from New to Fixed
  • Resolution set to fixed

Fixed in r2148

Actions

Also available in: Atom