From: Tom Hughes Date: Tue, 13 Dec 2011 10:45:40 +0000 (+0000) Subject: Allow generic URIs to use the registry format X-Git-Tag: live~5930 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/3f5374901e80cf18b5cb00c5d341be63efadc810 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 --- diff --git a/config/initializers/uri.rb b/config/initializers/uri.rb new file mode 100644 index 000000000..235ed6305 --- /dev/null +++ b/config/initializers/uri.rb @@ -0,0 +1,4 @@ +# Allow generic URIs to use the registry format +silence_warnings do + URI::Generic::USE_REGISTRY = true +end