Log parser should skip lines raising InvalidURIError
Bug #702819 reported by
William Grant
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
William Grant |
Bug Description
Some PPA requests have invalid URLs, which causes the log parser to choke on the file. The line should be skipped instead.
Related branches
lp:~wgrant/launchpad/bug-702819-bad-uris
- Curtis Hovey (community): Approve (code)
- j.c.sackett (community): Approve (code*)
-
Diff: 50 lines (+22/-3)2 files modifiedlib/lp/services/apachelogparser/base.py (+12/-3)
lib/lp/services/apachelogparser/tests/test_apachelogparser.py (+10/-0)
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
Changed in launchpad: | |
status: | Fix Released → Fix Committed |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in stable r12226 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 12226>.