allows onenote urls as links in notes field. Fixes #901. One can add other protocols that are filtered too

This commit is contained in:
Reinier Balt 2009-08-04 13:09:08 +02:00
parent eb31413816
commit ffc1c11676

View file

@ -54,6 +54,11 @@ Rails::Initializer.run do |config|
# (enables use of different database adapters for development and test environments)
config.active_record.schema_format = :ruby
# allow other protocols in urls for sanitzer. Add to your liking, for example
# config.action_view.sanitized_allowed_protocols = 'onenote', 'blah', 'proto'
# to enable "link":onenote://... or "link":blah://... hyperlinks
config.action_view.sanitized_allowed_protocols = 'onenote'
# See Rails::Configuration for more options
end