Allow generic URIs to use the registry format
This should stop OAuth complaining when it tries to parse a mapzen callback URI of the form mapzen://osm_callback
This commit is contained in:
parent
1794d6e711
commit
3f5374901e
1 changed files with 4 additions and 0 deletions
4
config/initializers/uri.rb
Normal file
4
config/initializers/uri.rb
Normal file
|
@ -0,0 +1,4 @@
|
|||
# Allow generic URIs to use the registry format
|
||||
silence_warnings do
|
||||
URI::Generic::USE_REGISTRY = true
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue