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

* commit '4561ea57ef9d075c04f00f765901a1d3de9e11b4':
  Add devsite-compatible lang ids to whitelist and add a redirect for the old uppercase ids.
This commit is contained in:
Dirk Dougherty
2013-05-06 19:03:52 -07:00
committed by Android Git Automerger
2 changed files with 7 additions and 3 deletions

View File

@@ -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.

View File

@@ -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 ----------------------