Update appengine server to handle '@'.
Change-Id: Ic06686f94d8cff822808e30034b102e859833454
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
# Copyright 2009 Google Inc.
|
# Copyright 2009 Google Inc.
|
||||||
#
|
#
|
||||||
@@ -526,6 +527,10 @@ class MemcachedZipHandler(webapp.RequestHandler):
|
|||||||
resp_data = None
|
resp_data = None
|
||||||
file_itr = iter(self.zipfilenames)
|
file_itr = iter(self.zipfilenames)
|
||||||
|
|
||||||
|
# decode any escape characters in the URI
|
||||||
|
# Note: We are currenty just looking for '@' (%40)
|
||||||
|
file_path = file_path.replace('%40', '@')
|
||||||
|
|
||||||
# check the index, if we have one, to see what archive the file is in
|
# check the index, if we have one, to see what archive the file is in
|
||||||
archive_name = self.MapFileToArchive(file_path)
|
archive_name = self.MapFileToArchive(file_path)
|
||||||
if not archive_name:
|
if not archive_name:
|
||||||
|
|||||||
Reference in New Issue
Block a user