Closed Bug 23251 Opened 25 years ago Closed 24 years ago

about: URL not getting reconized as URLs

Categories

(MailNews Core :: MIME, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED WONTFIX

People

(Reporter: bugzilla, Assigned: BenB)

Details

When you read mail and you have http://www.gemal.dk/ in a mail it is converted
into a clickable URL. So should the about: URLs like about:blank
Assignee: phil → mozilla
I think this belongs to Ben Bucksch. cc'ing rhp and warren. Guys, shouldn't we
be using one centralized system to recognize URLs?
This is all done in the TXT-HTML stream converter now. Just a matter of looking
for the about: url's I suspect.

- rhp
I thought the way we agreed to do this was to look for xxxx:yyyyyyyyyyyyyyy in
the text (where xxxx is a string of alphanumeric characters, then a colon, then
a string of non-whitespace characters) and then hand it off to NS_NewURI. If
that call succeeds, then it was a valid protocol, and a valid URL syntax that
can be highlighted.

Doing it this way will take care of about: and all future protocols. Anything
else is a hack.
QA Contact: lchiang → laurel
Status: NEW → RESOLVED
Closed: 25 years ago
Component: Front End → MIME
OS: Windows 98 → All
Hardware: PC → All
Resolution: --- → WORKSFORME
WORKSFORME.

warren,
yes, it works as you described, just it's not as easy as looking for xxx:yyyyy
:-).
Thanks Ben.

But why is it that this was reported as not working on 1/6 (today?). gemal --
do you have an old build?
This does not work on my 2000010608 build on Win98
Status: RESOLVED → REOPENED
Reopening until we can figure this out.
My mail looks like this:
To: gemal@dk.net
Subject: about:blank
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<html><head></head>
<body>about:blank</body>
</html>
Status: REOPENED → RESOLVED
Closed: 25 years ago25 years ago
Resolution: WORKSFORME → INVALID
Of course, HTML mails aren't parsed. It's the responsibility of the sender to
format/add tags.
laurel - verify that about:URL gets converted from plain text and not from html 
unless the user adds a link in.
about: is not being reconized as a URL. about:cache is.
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Summary: about: URLs not getting reconized as URLs → about: URL not getting reconized as URLs
This is really different from the original bug, but anyways:

What I'm talking about: This is ambiguous (hint: this sentence was an example
for itself). Use "<about:>" (which works). Closing WONTFIX.
Status: REOPENED → RESOLVED
Closed: 25 years ago24 years ago
Resolution: --- → WONTFIX
ok
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.