Commit b98e5bb9 authored by Dirk Dougherty's avatar Dirk Dougherty Committed by Android Git Automerger
Browse files

am 32bd1410: am 4df667f4: Add devsite-compatible lang ids to whitelist and add...

am 32bd1410: am 4df667f4: Add devsite-compatible lang ids to whitelist and add a redirect for the old uppercase ids.

* commit '32bd1410':
  Add devsite-compatible lang ids to whitelist and add a redirect for the old uppercase ids.
parents 226d3cec 32bd1410
......@@ -110,7 +110,7 @@ class MemcachedZipHandler(webapp.RequestHandler):
REDIRECT_TYPE_TEMP = 'temporary' # Redirect 'type'string indicate a 302
# Redirect should be served
intlString = 'intl/'
validLangs = ['en', 'de', 'es', 'fr','it','ja','ko','ru','zh-CN','zh-TW']
validLangs = ['en', 'de', 'es', 'fr','it','ja','ko','ru','zh-CN','zh-cn','zh-TW','zh-tw']
def TrueGet(self, reqUri):
"""The top-level entry point to serving requests.
......
......@@ -543,9 +543,13 @@ redirects:
type: permanent
comment: Redirect to new location
- src: /intl/zh-CN/...
dst: /intl/zh-cn/...
type: permanent
- src: /intl/zh-TW/...
dst: /intl/zh-tw/...
type: permanent
# -------------------- EASTER EGG REDIRECTS ----------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment