#87 open
gma

Can't request relative URLs with mechanize

Reported by gma | December 9th, 2008 @ 10:16 AM | in 0.5

When attempting to submit a form with a relative URL I received a "need absolute URL" RuntimeError.

I've patched it on github and sent a pull request. Here's the commit:

http://github.com/gma/webrat/com...

I decided that the most sensible way to fix it would be to patch the MechanizeSession, on the assumption that most back ends can cope with relative URLs. If that's not the case then this implementation has probably been inserted in the wrong place.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

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

People watching this ticket

Pages