Bug attachment can't be opened with non ascii titles

Bug #1946762 reported by Sebastien Bacher
70
This bug affects 10 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

Trying to open the attachment on https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1946541/comments/3 gives an oops error

ID OOPS-c04726e1e08547ce679eea5f894e209f is one example

Revision history for this message
Jürgen Gmach (jugmac00) wrote : Re: Bug attachment can't be found

The page which links to the broken path:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1946541

Thanks for the bug report. It looks like the path got scrambled.

summary: - Bug attachment can't be open due to encoding issue?
+ Bug attachment can't found
summary: - Bug attachment can't found
+ Bug attachment can't be found
Changed in launchpad:
status: New → Triaged
importance: Undecided → Low
summary: - Bug attachment can't be found
+ Bug attachment can't be opened with non ascii titles
Revision history for this message
Jürgen Gmach (jugmac00) wrote :
Revision history for this message
Olivier Tilloy (osomon) wrote :

Can the value of the importance field be reconsidered (upwards)?

It's pretty common for people to attach screenshots to bug reports, and by default in several prominent languages (including French and Spanish) the filenames for the screenshots include accented characters (e.g. "Capture d’écran du 2022-10-17 17-36-09.png"). These bug reports are mostly not actionable without access to the attached screenshots.

Also, I'm pretty sure this used to work, and is a relatively recent regression.

Revision history for this message
Colin Watson (cjwatson) wrote :

I came up with a partial test case for this. It looks like this was a regression from Python 3 porting work in `lp.services.webapp.servers.BasicLaunchpadRequest.__init__`. My initial naïve fix seemed to get the initial redirection working but then I found that loading the file from the librarian had a similar issue; I haven't tracked down why that might be.

Revision history for this message
Jürgen Gmach (jugmac00) wrote :

Additionally, it was reported that attachments with spaces are problematic, see https://bugs.launchpad.net/launchpad/+bug/2000726

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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