[Piglit] [PATCH] html: escape '#' in addition to other charcters

Dylan Baker baker.dylan.c at gmail.com
Tue Sep 2 23:14:44 PDT 2014


CC: Emil Velikov <emil.l.velikov at gmail.com>
Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
 framework/summary.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/framework/summary.py b/framework/summary.py
index 332aa40..d1b737b 100644
--- a/framework/summary.py
+++ b/framework/summary.py
@@ -44,7 +44,7 @@ __all__ = [
 
 def escape_filename(key):
     """Avoid reserved characters in filenames."""
-    return re.sub(r'[<>:"|?*]', '_', key)
+    return re.sub(r'[<>:"|?*#]', '_', key)
 
 
 def normalize_href(href):
-- 
2.1.0



More information about the Piglit mailing list