Closed Bug 289396 Opened 20 years ago Closed 20 years ago

new filter "url_quote_utf8"

Categories

(Bugzilla :: Bugzilla-General, enhancement)

x86
Linux
enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: mario, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041109 Firefox/1.0
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041109 Firefox/1.0

I place urls to directly call a legacy application with bugzilla informations on
some the bugzilla pages.
Now the legacy application has converted to utf-8 and thus I was forced to
encode those links with utf-8
The attached patch installs a new Filter (url_quote_utf8) to handle this case.

Maybe you might find it usefull.

Reproducible: Always
Isn't this covered as part of the main UTF-8 bug - bug 126266?
Summary: new filter "url_qoute_utf8" → new filter "url_quote_utf8"
If bugzilla goes utf-8 at all, then my filter might be useless - sure.

Due to the lenght of the bug I think this might not happen that fast.

My filter do not change anything how bugzilla handles the encoding at all, it
just gives the possibility to create a utf-8 encoded url-link.

As I wrote I need this to pass data to our legacy application and I dont know if
this is of any need for the bugzilla standard, but as it is a very small patch
(~10 lines of code) and do not change any current bugzilla behaviour, but
introduces a NEW function I thought I leave the decision if it should be added
to the bugzilla team.
once bug 126266 is fixed (this will happen for the 2.20 release -- soon),
technically bugzilla won't be using utf-8 internally.  by this i mean it won't
use perl's native utf8 support when managing strings.  it will treat utf strings
as binary data.  the only thing that will change is the character encoding sent
on web pages and in emails to allow the browser/mail client to correctly decode
the binary data as utf8 strings.
I wonder how you will store such "binary-strings" into the database (in a way it
is readable with any client) and how we can use the search-facility e.g. using
wildcards (regexp).
But I havent followed the discussion and maybe you found solutions for this -
thus we could change this bug to WONTFIX.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: