#398 √ invalid
Simon Lundström (simmel)

Merb router doesn't match with URL in regex

Reported by Simon Lundström (simmel) | July 12th, 2008 @ 05:47 AM | in 0.9.8

When adding an route which includes an URL, the router doesn't match.

When using

r.match(%r[^/(http:/.*)]).to(:controller => 'trails', :action => 'show', :url => "[1]")

the route does match, but URL becomes http:/whateverurlitypein

r.match(%r[^/(http://.*)]).to(:controller => 'trails', :action => 'show', :url => "[1]")

does not match a all.

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

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

Shared Ticket Bins