Project

General

Profile

Bug #2396

Please handle ENAMETOOLONG (patch)

Added by dererkazo over 4 years ago. Updated about 4 years ago.

Status:
Fixed
Priority:
High
Assignee:
-
Category:
core
Target version:
Start date:
2012-03-09
Due date:
% Done:

100%

Missing in 1.5.x:
No

Description

Hi.

Please apply the following trivial patch.
It changes current behavior nicely handling cases where requested files have names too long, instead of throwing HTTP 500 Error (Internal Server Error).

It's important to remark that this is a proper behavior. Other httpd's out there also throw 4xx errors in this cases too.

filename-too-long.patch View - ENAMETOOLONG patch (478 Bytes) dererkazo, 2012-03-09 21:30

Associated revisions

Revision d09fdd87 (diff)
Added by stbuehler about 4 years ago

Handle ENAMETOOLONG, return 404 Not Found (fixes #2396, thx dererkazo)

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2850 152afb58-edef-0310-8abb-c4023f1b3aa9

Revision 2850 (diff)
Added by stbuehler about 4 years ago

Handle ENAMETOOLONG, return 404 Not Found (fixes #2396, thx dererkazo)

History

#1 Updated by stbuehler about 4 years ago

  • Target version changed from 1.4.x to 1.4.32

#2 Updated by stbuehler about 4 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset r2850.

Also available in: Atom