Skip to content

Commit

Permalink
Add RailsXSS protection plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
sobrinho committed Dec 30, 2009
1 parent 46d025c commit e3861f6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "vendor/plugins/rails_xss"]
path = vendor/plugins/rails_xss
url = git://github.com/NZKoz/rails_xss.git
4 changes: 2 additions & 2 deletions app/views/meetings/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
%h3 Conteúdo

%p
= [link_to_function('Vídeo'), link_to_function('Slides'), link_to_function('Código fonte')].to_sentence
!= [link_to_function('Vídeo'), link_to_function('Slides'), link_to_function('Código fonte')].to_sentence

.box
%h2 Apresentações anteriores
Expand All @@ -32,5 +32,5 @@
o HTML e CSS e o InheritedResources para os controllers "scaffold".

%p
= [link_to_function('Vídeo'), link_to_function('Slides'), link_to_function('Código fonte')].to_sentence
!= [link_to_function('Vídeo'), link_to_function('Slides'), link_to_function('Código fonte')].to_sentence

1 change: 1 addition & 0 deletions vendor/plugins/rails_xss
Submodule rails_xss added at 41d244

0 comments on commit e3861f6

Please sign in to comment.