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]

Reply via email to