To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=72544
                 Issue #|72544
                 Summary|open-url scripts do not wrap their arguments in quotes
                        |, when passing them to the browser
               Component|framework
                 Version|OOo 2.0.4
                Platform|Opteron/x86_64
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|mba
             Reported by|ppyfxg





------- Additional comments from [EMAIL PROTECTED] Wed Dec 13 10:13:18 -0800 
2006 -------
The following scripts pass a given url to the browser/mailer without wrapping 
quotes:

shell/source/unix/misc/cde-open-url.sh
shell/source/unix/misc/gnome-open-url.sh
shell/source/unix/misc/kde-open-url.sh
shell/source/unix/misc/open-url.sh

For example when calling
BROWSER=echo OOO_2_0_4/shell/source/unix/misc/open-url.sh 'http://test     -x'
in bash, echo is called like
echo "http://test"; "-x"
and not like
echo "http://test     -x"
which would be more correct. So the first parameter to echo is 'http://test'.
When replacing echo by some proper browser, "-x" is interpreted as option.

Although, OOo is escaping spaces within its UI components, the given scripts 
can easily be made 
more robust by applying the given patch.

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

Reply via email to