Skip to content

Commit

Permalink
WEB: Made redirect page more robust
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Jun 11, 2016
1 parent 3aaf6a7 commit f148630
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .htaccess
Expand Up @@ -13,18 +13,18 @@ RewriteRule ^old/.* - [L]

# Cloud service provider redirects
# Dropbox
RewriteRule ^c/db$ https://www.dropbox.com/1/oauth2/authorize?response_type=code&redirect_uri=https://www.scummvm.org/c/&client_id=dlm3nadaa4t3nsk [NE]
RewriteRule ^c/db$ https://www.dropbox.com/1/oauth2/authorize?response_type=code&redirect_uri=https://www.scummvm.org/c/code&client_id=dlm3nadaa4t3nsk [NE]
RewriteRule ^c/dbs$ https://www.dropbox.com/1/oauth2/authorize?response_type=code&redirect_uri=http://localhost:12345/&client_id=dlm3nadaa4t3nsk [NE]

# OneDrive
RewriteRule ^c/od$ https://login.live.com/oauth20_authorize.srf?response_type=code&redirect_uri=https://www.scummvm.org/c/&client_id=c9582384-aa02-4054-bc40-56692270cb02&scope=onedrive.appfolder%20offline_access
RewriteRule ^c/od$ https://login.live.com/oauth20_authorize.srf?response_type=code&redirect_uri=https://www.scummvm.org/c/code&client_id=c9582384-aa02-4054-bc40-56692270cb02&scope=onedrive.appfolder%20offline_access
RewriteRule ^c/ods$ https://login.live.com/oauth20_authorize.srf?response_type=code&redirect_uri=http://localhost:12345/&client_id=c9582384-aa02-4054-bc40-56692270cb02&scope=onedrive.appfolder%20offline_access

# Google Drive
RewriteRule ^c/gd$ https://accounts.google.com/o/oauth2/auth?response_type=code&redirect_uri=https://www.scummvm.org/c/&client_id=372269489234-cc487pr03275ua50b6sr7tulq3d6dfbi.apps.googleusercontent.com&scope=https://www.googleapis.com/auth/drive
RewriteRule ^c/gd$ https://accounts.google.com/o/oauth2/auth?response_type=code&redirect_uri=https://www.scummvm.org/c/code&client_id=372269489234-cc487pr03275ua50b6sr7tulq3d6dfbi.apps.googleusercontent.com&scope=https://www.googleapis.com/auth/drive
RewriteRule ^c/gds$ https://accounts.google.com/o/oauth2/auth?response_type=code&redirect_uri=http://localhost:12345&client_id=372269489234-cc487pr03275ua50b6sr7tulq3d6dfbi.apps.googleusercontent.com&scope=https://www.googleapis.com/auth/drive

RewriteRule ^c/.* - [L]
RewriteRule ^c/.* c/index.php [L]

##
# We moved screenshots, fixing the links
Expand Down

0 comments on commit f148630

Please sign in to comment.