Bug #2396

Please handle ENAMETOOLONG (patch)

Added by dererkazo about 2 years ago. Updated over 1 year ago.

Status:FixedStart date:2012-03-09
Priority:HighDue date:
Assignee:-% Done:

100%

Category:core
Target version:1.4.32
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 Magnifier - ENAMETOOLONG patch (478 Bytes) dererkazo, 2012-03-09 21:30

Associated revisions

Revision 2850
Added by stbuehler over 1 year ago

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

History

#1 Updated by stbuehler over 1 year ago

  • Target version changed from 1.4.x to 1.4.32

#2 Updated by stbuehler over 1 year ago

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

Applied in changeset r2850.

Also available in: Atom