Skip to content
This repository has been archived by the owner on Jan 23, 2020. It is now read-only.

Commit

Permalink
Do not allow slashes in client names
Browse files Browse the repository at this point in the history
  • Loading branch information
asebastian committed Apr 16, 2013
1 parent a7b0d54 commit 840252b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
scope 'events' do
match 'events_table' => 'events#events_table', :via => :get
match 'modal_data' => 'events#modal_data', :via => :get
scope '/:client', :constraints => { :client => /[\w.\-\/]+/ } do
scope '/:client', :constraints => { :client => /[\w.\-]+/ } do
match '/silence' => 'events#silence_client', :via => :post
match '/unsilence' => 'events#unsilence_client', :via => :post
scope '/:check' do
Expand Down

0 comments on commit 840252b

Please sign in to comment.