]> git.openstreetmap.org Git - rails.git/commit
Allow any valid (per RFC 3986) scheme name in OAuth callback URLs
authorMendhak <mendhak@hotmail.com>
Sat, 23 Apr 2011 09:29:49 +0000 (10:29 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 17 May 2011 23:36:01 +0000 (00:36 +0100)
commit03eb6ce048047826cb40d73e755702ec51b916d5
tree887f65dba6e52c0c34d2dddecdaad0fae650db37
parentff174c1feb1c4990107d65b07ca6b5745f5742df
Allow any valid (per RFC 3986) scheme name in OAuth callback URLs

Changed the callback_url regex so that you can have custom schemes such
as myapp: or my-lovely-app: instead of just http and https. This should
help with mobile development where users can authorize with OSM in their
browser and are automatically redirected to the registered app.
app/models/client_application.rb