Bug #2396

Please handle ENAMETOOLONG (patch)

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

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


Target version:1.4.32
Missing in 1.5.x:No



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 about 3 years ago

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


#1 Updated by stbuehler about 3 years ago

  • Target version changed from 1.4.x to 1.4.32

#2 Updated by stbuehler about 3 years ago

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

Applied in changeset r2850.

Also available in: Atom