Changeset [16271] changed "=" in the shortlink to "-" but didn't
update the routes to match. Change the regex to accept [=-]* ("=" since we want to be backwards compatable)
This commit is contained in:
parent
b34c31bf8d
commit
e7f5f42856
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ ActionController::Routing::Routes.draw do |map|
|
|||
map.connect '/forgot-password.html', :controller => 'user', :action => 'lost_password'
|
||||
|
||||
# permalink
|
||||
map.connect '/go/:code', :controller => 'site', :action => 'permalink', :code => /[a-zA-Z0-9_@]+=*/
|
||||
map.connect '/go/:code', :controller => 'site', :action => 'permalink', :code => /[a-zA-Z0-9_@]+[=-]*/
|
||||
|
||||
# traces
|
||||
map.connect '/traces', :controller => 'trace', :action => 'list'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue