rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / code / Atom feed
* Re: Bug Report: Certain characters in POST form data can cause exception in rack-1.3.2/lib/rack/backports/uri/common.rb:67:in `decode_www_form_component'
       [not found] <CAOtxbg6uDd-d6Q59LOW-NWSfCEp5AMZ8kVbE4=3WnuQkWiLsaA@mail.gmail.com>
@ 2011-09-10  0:11 ` Bo Chen
  2011-09-15  7:58   ` Marcelo Barbudas
  2011-09-15  8:04   ` Marcelo Barbudas
  0 siblings, 2 replies; 4+ messages in thread
From: Bo Chen @ 2011-09-10  0:11 UTC (permalink / raw)
  To: rack-devel

[-- Attachment #1: Type: text/plain, Size: 513 bytes --]

>
> Hi,
> We recently tried upgrading to rack 1.3.2 from rack 1.2.1, and found that
> it throws exceptions for some POSTs with encrypted data that we have.
> I have attached the stack trace (.log) and the data from the post itself
> (.har saved from chrome).
>
> Let me know if this is a known bug, for now, we'll stay on rack 1.2.
>
> Thanks in advance
>
> *Bo Chen*
> Tech Lead, Player Team |
> bochen@ooyala.com |
> www.ooyala.com | blog <http://www.ooyala.com/blog> | @ooyala<http://www.twitter.com/ooyala>
>

[-- Attachment #2: Type: text/html, Size: 1360 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Bug Report: Certain characters in POST form data can cause exception in rack-1.3.2/lib/rack/backports/uri/common.rb:67:in `decode_www_form_component'
  2011-09-10  0:11 ` Bug Report: Certain characters in POST form data can cause exception in rack-1.3.2/lib/rack/backports/uri/common.rb:67:in `decode_www_form_component' Bo Chen
@ 2011-09-15  7:58   ` Marcelo Barbudas
  2011-09-15  8:04   ` Marcelo Barbudas
  1 sibling, 0 replies; 4+ messages in thread
From: Marcelo Barbudas @ 2011-09-15  7:58 UTC (permalink / raw)
  To: rack-devel

[-- Attachment #1: Type: text/plain, Size: 297 bytes --]

+1 I have the same issue.

I have a GET request that contains url encoded data like: Stuff%20-%20Other 
(translated to "Stuff - Other"). In rails3.1 this crashes with  invalid 
%-encoding   rack (1.3.2) lib/rack/backports/uri/common.rb:67:in 
`decode_www_form_component'

It's quite a nasty bug. 

[-- Attachment #2: Type: text/html, Size: 360 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Bug Report: Certain characters in POST form data can cause exception in rack-1.3.2/lib/rack/backports/uri/common.rb:67:in `decode_www_form_component'
  2011-09-10  0:11 ` Bug Report: Certain characters in POST form data can cause exception in rack-1.3.2/lib/rack/backports/uri/common.rb:67:in `decode_www_form_component' Bo Chen
  2011-09-15  7:58   ` Marcelo Barbudas
@ 2011-09-15  8:04   ` Marcelo Barbudas
  2012-02-26  6:07     ` Christopher Meiklejohn
  1 sibling, 1 reply; 4+ messages in thread
From: Marcelo Barbudas @ 2011-09-15  8:04 UTC (permalink / raw)
  To: rack-devel

[-- Attachment #1: Type: text/plain, Size: 69 bytes --]

Actually this happens if you have for some reason in your request %%.

[-- Attachment #2: Type: text/html, Size: 69 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Bug Report: Certain characters in POST form data can cause exception in rack-1.3.2/lib/rack/backports/uri/common.rb:67:in `decode_www_form_component'
  2011-09-15  8:04   ` Marcelo Barbudas
@ 2012-02-26  6:07     ` Christopher Meiklejohn
  0 siblings, 0 replies; 4+ messages in thread
From: Christopher Meiklejohn @ 2012-02-26  6:07 UTC (permalink / raw)
  To: rack-devel

[-- Attachment #1: Type: text/plain, Size: 215 bytes --]

Is there a bug open for this?  It appears to still be a problem.

On Thursday, September 15, 2011 4:04:42 AM UTC-4, Marcelo Barbudas wrote:
>
> Actually this happens if you have for some reason in your request %%.


[-- Attachment #2: Type: text/html, Size: 348 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-02-27  9:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAOtxbg6uDd-d6Q59LOW-NWSfCEp5AMZ8kVbE4=3WnuQkWiLsaA@mail.gmail.com>
2011-09-10  0:11 ` Bug Report: Certain characters in POST form data can cause exception in rack-1.3.2/lib/rack/backports/uri/common.rb:67:in `decode_www_form_component' Bo Chen
2011-09-15  7:58   ` Marcelo Barbudas
2011-09-15  8:04   ` Marcelo Barbudas
2012-02-26  6:07     ` Christopher Meiklejohn

Code repositories for project(s) associated with this inbox:

	https://80x24.org/mirrors/rack.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).