Changeset [846a90e561a086cee072dc0fc135e63197edbc58] by Josh Lubaway

May 29th, 2009 @ 01:42 PM

Passing TextField values as plaintext to Mechanize.

Mechanize takes input as plaintext and escapes field values on its own. If the values are escaped before they are passed to Mechanize, the values will be escaped twice.

These doubly-escaped values will result in incorrect behavior on the server side. http://github.com/brynary/webrat...

Committed by Josh Lubaway

  • M lib/webrat/core/elements/field.rb
  • M spec/private/core/field_spec.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Ruby Acceptance Testing for Web applications.

Shared Ticket Bins