webrick crashes processing NotModified response in lucid
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rails (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: rails
Description: Ubuntu lucid (development branch)
Release: 10.04
Webrick raises an exception trying to generate NotModified response on static files.
Backtrace:
First request (no Etag or If Modified headers)
127.0.0.1 - - [17/Mar/
- -> /images/rails.png
Second request (browser sends If-Modified-Since)
[2010-03-17 14:30:45] ERROR NoMethodError: private method `gsub!' called for #<Class:
/usr/lib/
/usr/lib/
/home/
/home/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/home/
/home/
/usr/lib/
/usr/lib/
/home/
/home/
/home/
/home/
/usr/lib/
/usr/lib/
script/server:3
127.0.0.1 - - [17/Mar/
- -> /images/rails.png
Trying to reach out the core of the problem I found out that variable err (HTTPStatus:
ProblemType: Bug
Architecture: amd64
Date: Wed Mar 17 14:25:40 2010
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100224.1)
Package: rails 2.2.3-2
PackageArchitec
ProcEnviron:
LANG=en_US.utf8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: rails
Uname: Linux 2.6.32-16-generic x86_64
anywork solutions, or workarounds?