Skip to content

Commit

Permalink
remove element from list of blocked elements
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobkagon committed Feb 28, 2024
1 parent 0607085 commit 067a28d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/templates/template_model.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class TemplateModel
include Mongoid::Timestamps

BLOCKED_ELEMENTS = ['<script', '%script', 'iframe', 'file://', 'dict://', 'ftp://', 'gopher://', '%x', 'system', 'exec', 'Kernel.spawn', 'Open3',
'`', 'IO'].freeze
'`'].freeze

field :key, type: String
field :title, type: String
Expand Down

0 comments on commit 067a28d

Please sign in to comment.