Index: chrome/common/extensions/docs/server2/template_data_source.py |
diff --git a/chrome/common/extensions/docs/server2/template_data_source.py b/chrome/common/extensions/docs/server2/template_data_source.py |
index 2612d045a6a3ed929a8391fc9e9e59ccaf43d8a5..6c3a873750618f220e36053d2599a34d25b03483 100644 |
--- a/chrome/common/extensions/docs/server2/template_data_source.py |
+++ b/chrome/common/extensions/docs/server2/template_data_source.py |
@@ -53,7 +53,8 @@ class TemplateDataSource(object): |
index = key.rfind('.html') |
if index > 0: |
key = key[:index] |
- real_path = key + '.html' |
+ safe_key = key.replace('.', '_') |
+ real_path = safe_key + '.html' |
for base_path in self._base_paths: |
try: |
return self._cache.get(base_path + '/' + real_path) |