To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=43485 Issue #:|43485 Summary:|Gnome/VFS integration non-functional Component:|utilities Version:|680m79 Platform:|All URL:| OS/Version:|All Status:|NEW Status whiteboard:| Keywords:| Resolution:| Issue type:|PATCH Priority:|P3 Subcomponent:|code Assigned to:|sb Reported by:|mmeeks
------- Additional comments from [EMAIL PROTECTED] Thu Feb 24 07:15:22 -0800 2005 ------- Easy to repeat: ./soffice.bin ssh://localhost/some/path/to/file.sxw Hi Stefan: desktop/source/app/app.cxx: INetURLObject aURL = aObj.smartRel2Abs( rName, bWasAbsolute, false, INetURLObject::WAS_ENCODED, RTL_TEXTENCODING_UTF8, true ); String aFileURL = aURL.GetMainURL(INetURLObject::NO_DECODE); It seems the INET_PROT_GENERIC code doesn't handle this case well; this patch fixes at least this part of the problem: How much testing did this vfs stuff yet ? --- tools/source/fsys/urlobj.cxx 11 Jan 2005 13:14:17 -0000 1.52 +++ tools/source/fsys/urlobj.cxx 24 Feb 2005 15:10:33 -0000 @@ -1493,7 +1493,9 @@ bool INetURLObject::convertRelToAbs(rtl: sal_uInt32 nFragmentDelimiter = '#'; Part ePart = PART_VISIBLE; - if (!pPrefix && bSmart) + bool bHasPrefix = ( pEnd != pPrefixBegin ); + + if (!bHasPrefix && bSmart) { // If the input matches any of the following productions (for which // the appropriate style bit is set in eStyle), it is assumed to be an @@ -1593,7 +1595,7 @@ bool INetURLObject::convertRelToAbs(rtl: rWasAbsolute = pPrefix != 0; // Fast solution for non-relative URIs: - if (pPrefix) + if (bHasPrefix) { INetURLObject aNewURI(rTheRelURIRef, eMechanism, eCharset); if (aNewURI.HasError()) --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]