[Mongrel] Long URLs - New to Mongrel
francois.beausoleil at gmail.com
Wed Mar 7 10:15:19 EST 2007
2007/3/7, Joe Lester <joe_lester at sweetwater.com>:
> My rails web app (rails 1.2.1) uploads an image from a Java applet by
> encoding it into the URL. This works fine when I'm using Webrick. I'm
> trying out Mongrel today, and I'm getting an error in Safari that
> says "lost network connection" (NSURLErrorDomain:-1005). I get
> something similar in Firefox. Is there a way to make Mongrel accept a
> really long URL like this?
Yes, Mongrel will kill the request because it thinks you're trying to
attack it. Why can't you POST the data instead ? This is what POST
was intended to do.
More information about the Mongrel-users