To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=26957


User mba changed the following:

                What    |Old value                 |New value
================================================================================
        Target milestone|OOo Later                 |OOo 3.2
--------------------------------------------------------------------------------




------- Additional comments from m...@openoffice.org Wed Jun 16 18:24:13 +0000 
2010 -------
Proposed fix:

In sfx2/source/appl/appopen.cxx we have

// Mark without URL cannot be handled by hyperlink code
if ( bHyperlinkUsed && aFileName.Len() && aFileName.GetChar(0) != '#' )
{
    // hands over URL to system after some more checks

This code assumes that every URL that contains a file name (with any protocol)
that was dispatched by clicking a hyperlink may be a candidate for handing it
over to the system so that the registered application can be started.

IMHO we should do also for file URLs with jump marks:

INetURLObject aURL( aFileName );
bool bIsPureHashMark = aFileName.GetChar(0) == '#';
bool bIsFileURLWithHashMark = aURL.GetProtocol() == INET_PROT_FILE &&
aFileName.SearchAscii("#") != STRING_NOTFOUND;

if ( bHyperlinkUsed && aFileName.Len() && !bIsPureHashMark &&
!bIsFileURLWithHashMark )
{
    // etc. etc.


---------------------------------------------------------------------
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to