info/SRC680m55 : tools/urlobj: INET_PROT_GENERIC only works for URL schemes that are at least two characters long

[email protected] Wed, 21 Sep 2005 13:12:45 +0200 (CEST)
Newsgroups gmane.comp.openoffice.announce.interface
Message-ID <15979515.1127301165703.JavaMail.root@sd-web1>
Type
info

Title
tools/urlobj: INET_PROT_GENERIC only works for URL schemes that are at least two characters long

Posted by
[email protected]

Affected
,-

Effective from
SRC680m55

Summary

INetURLObject("c:\foo") -> INET_PROT_INVALID
INetURLObject("cd:\foo") -> INET_PROT_GENERIC

Description

The support for INET_PROT_GENERIC in INetURLObject (see
<http://www.openoffice.org/servlets/ReadMsg?list=interface-announce&msgNo=570>)
had to be changed slightly, to not make existing code fail. See
<http://www.openoffice.org/issues/show_bug.cgi?id=34841> for
eventually undoing these changes again, which means that IN NEW CODE,
DO NOT RELY ON THIS SPECIAL BEHAVIOUR FOR SINGLE-CHARACTER URL SCHEMES!

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]