To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=113613
                 Issue #|113613
                 Summary|basic: ConvertToURL() can produce strings with more th
                        |an three slashes
               Component|framework
                 Version|OOO330m1
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|ab
             Reported by|jsk





------- Additional comments from j...@openoffice.org Tue Aug  3 10:52:28 +0000 
2010 -------
It appears that the internal BASIC funktion ConvertToURL() does not verify the
string it returns.

If the path is of form "file:\\\hello\salve\moin" it will expand to
"file://///hello/salve/moin" when sent through ConvertToURL().

This was uncovered by calling "ConvertPath" and "ConverToURL" twice in a row
within VCL Testtool BASIC. 

Note: "ConvertPath" is a BASIC coded function that converts a path from Windows
style to Unix style and vice versa by replacing slashes/backslashes according to
the underlying OS.

ConvertToURL() should validate the output string

---------------------------------------------------------------------
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