Project

General

Profile

Actions

Bug #1827

closed

400 Response on any URL that countains a space character (ASCII 20)

Added by catmando almost 16 years ago. Updated almost 16 years ago.

Status:
Fixed
Priority:
Immediate
Category:
-
Target version:
ASK QUESTIONS IN Forums:

Description

Any url that contains a space (encoded as %20, or ASCII 20) fails with a 400 error. This seems to be linked to (or a duplicate of) http://redmine.lighttpd.net/issues/show/1822

I'd appreciate if someone could confirm this.


Related issues 4 (0 open4 closed)

Related to Bug #1720: Rewrite/redirect rules and URL encodingFixedActions
Related to Bug #1802: url-encode/decodeFixedstbuehler2008-10-20Actions
Has duplicate Bug #1832: lighty doesn't quote spaces in urls in proxy moduleFixed2008-11-26Actions
Has duplicate Bug #1819: mod_rewrite not working anymore after patchingFixed2008-11-11Actions
Actions #1

Updated by catmando almost 16 years ago

  • Target version set to 1.4.21
Actions #2

Updated by catmando almost 16 years ago

Sorry in my rush i forgot to mention that this is in 1.4.20

Actions #4

Updated by peto almost 16 years ago

There's no way this bug exists.

(And, er, ASCII 32, not 20.)

Actions #5

Updated by catmando almost 16 years ago

@Jine:
http://wwpde00.securesites.net/testbed/rewrite%20test

Compare to:
http://wwpde00.securesites.net:8001/testbed/rewrite%20test

I'm sorry to have been unclear again, but it seems that this is a rewrite problem. Static content does indeed seem to serve just fine, but the whole reason I love lighty is because it makes my CMS sites go super fast! I was in a rush as I had to catch a train.

The particular rewrite rule where I think the problem is looks like this:

$HTTP["host"] == "wwpde00.securesites.net"{
url.rewrite-once = ( "^/(.*)$" => "/VirtualHostBase/http/wwpde00.securesites.net:80//VirtualHostRoot/$1")
proxy.balance = "hash"
proxy.server = ( "/VirtualHostBase" => ( ( "host" => "127.0.0.1", "port" => 8001 ) ) )
}

@peto:
The bug does exist, it's just in the rewrite module. And ASCII 32 decimal == ASCII 20 hex (i.e. what's actually used on the web).

Actions #6

Updated by catmando almost 16 years ago

  • Assignee set to darix
Actions #7

Updated by icy almost 16 years ago

  • Status changed from New to Fixed

Should be fixed in r2362

Actions

Also available in: Atom