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:
@@ -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 ----------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user