Permalink
Browse files

Merge pull request #2 from axiom/master

Sanitize project name parameter.
  • Loading branch information...
2 parents efba7b9 + 9fde53f commit ce45a6712fdbd2fa2d11a51051a724547706fe0b Otto Hilska committed May 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/flowdock_listener.rb
View
@@ -70,7 +70,7 @@ def send_message!(subject, body)
:from_name => @user_name,
:subject => subject,
:content => body,
- :project => @project_name,
+ :project => @project_name.gsub(/[^\w\s]/,' '),
:link => @url
}

0 comments on commit ce45a67

Please sign in to comment.