Template name needs to be escaped.

Bug #396481 reported by Henning Eggers
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Henning Eggers

Bug Description

https://lp-oops.canonical.com/oops.py/?oopsid=OOPS-1283EB40

It seems that POTemplateSharingSubset.getSharingPOTemplates can be passed a template_name that causes the regular expression in _iterate_potemplates to become invalid. In this case it is libstdc++.

  error: multiple repeat

Revision history for this message
Henning Eggers (henninge) wrote :

This is fairly important as it may prevent queue reviewers from approving certain entries in the queue.

tags: added: oops
description: updated
summary: - Template name may need to be escaped.
+ Template name needs to be escaped.
Revision history for this message
Henning Eggers (henninge) wrote :

Going to fix this using re.escape.

Changed in rosetta:
assignee: nobody → Henning Eggers (henninge)
importance: Undecided → High
milestone: none → 2.2.7
status: New → In Progress
Revision history for this message
Henning Eggers (henninge) wrote :

Fixed in devel 8795.

Changed in rosetta:
status: In Progress → Fix Committed
Ursula Junque (ursinha)
description: updated
Changed in rosetta:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.