info/SRC680 CWS fwkfinal1 : INetURLObject rel-to-abs functions now also support INET_PROT_GENERIC
[email protected] Wed, 21 Sep 2005 13:07:28 +0200 (CEST)
| Newsgroups | gmane.comp.openoffice.announce.interface |
|---|---|
| Message-ID | <29724998.1127300848239.JavaMail.root@sd-web1> |
Type info Title INetURLObject rel-to-abs functions now also support INET_PROT_GENERIC Posted by [email protected] Affected ,. Effective from SRC680 CWS fwkfinal1 Summary ~ INetURLObject::smartRel2Abs ~ INetURLObject::GetNewAbsURL ~ INetURLObject::GetAbsURL Description These functions now detect whether the given relative URL is in fact an absolute URL of unknown (i.e., INET_PROT_GENERIC) scheme. (For example, GetAbsURL("file:///", "foo:bar") now returns "foo:bar" instead of "file:///foo:bar".) Care has been taken not to change any "smart" behaviour when the given relative URL is in fact an absolute DOS filepath of the form "C:\...". This change should not have any negative impact on existing OOo behaviour: One place that is affected is command line arguments to soffice, i.e., soffice foo:bar.odt will not work as intended, as it will not open the file named foo:bar.odt in the current directory, but instead tries to open the URL foo:bar.odt. However, in old OOo versions, the above did not work, either, as due to issue 28737, it tried to open the file named foo/bar.odt. If you really want to open a file named foo:bar.odt in the current directory, be sure to name it with an unambigious URL, as in soffice ./foo:bar.odt --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]