[Bug 1978301] Re: Broken contact URL in German translation
Steve Langasek
1978301 at bugs.launchpad.net
Fri Apr 21 22:07:56 UTC 2023
The refactor of apport-gtk in the jammy queue includes this change:
- if not isinstance(text, bytes):
- text = text.encode('UTF-8')
This code is not included in the refactored function. Why is it safe to
drop this code?
** Changed in: apport (Ubuntu Jammy)
Status: Confirmed => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1978301
Title:
Broken contact URL in German translation
Status in Apport:
Fix Released
Status in apport package in Ubuntu:
Fix Released
Status in apport source package in Jammy:
Incomplete
Bug description:
Impact
------
All German users (and all translations that use "%s." in their
translation template) will get a broken URL link for bug reports
against snaps (e.g. Firefox).
Test Case
---------
1. Execute following command: LANGUAGE=de ubuntu-bug firefox
2. Click on the URL
3. A browser window should open and not display a 404 page
Regression Potential
--------------------
Since there was no test case for converting text to HTML before this
fix, there might be some URLs that will become broken by this fix.
Original Description
--------------------
"LANGUAGE=de ubuntu-bug firefox" end up in a dialog saying:
firefox wird durch einen von mozilla veröffentlichten Snap
bereitgestellt. Für Hilfe gehen Sie über
https://support.mozilla.org/kb/file-bug-report-or-feature-request-
mozilla.
The dot at the end is included in the URL link. The dot makes the URL
link broken. The regular expression in gtk/apport-gtk for http URLs
should become smarter.
To manage notifications about this bug go to:
https://bugs.launchpad.net/apport/+bug/1978301/+subscriptions
More information about the foundations-bugs
mailing list