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

Dylan Baker baker.dylan.c at gmail.com
Wed Sep 3 08:28:26 PDT 2014


No problem, thanks for testing.

On Wednesday, September 03, 2014 01:43:24 PM Emil Velikov wrote:
> On 03/09/14 07:14, Dylan Baker wrote:
> > CC: Emil Velikov <emil.l.velikov at gmail.com>
> > Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
> Works like a charm, thank you :)
> 
> Tested-by: Emil Velikov <emil.l.velikov at gmail.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):
> > 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20140903/8d8d475b/attachment.sig>


More information about the Piglit mailing list