[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gjdoc/25704] New: gjdoc.sh can't handle arguments with single quote
From: |
david at jpackage dot org |
Subject: |
[Bug gjdoc/25704] New: gjdoc.sh can't handle arguments with single quotes |
Date: |
6 Jan 2006 23:27:38 -0000 |
This is actually a larger problem in that gjdoc.sh can't properly quote
arguments passed to the shell.
For example, if one specifies in a build.xml file
<javadoc ...>
<doctitle>
<![CDATA[javadoc's "test"]]>
</doctitle>
</javadoc>
The shell will fail to parse this at the ' character.
The offending line of gjdoc.sh seems to be
gjdocparams="$gjdocparams '$i'"
as we now have an unescaped ' inside two single quotes.
Switching this to double quotes reverses the situation.
I am not sure if using "$@" directly would fix the problem, but it is clear
that this can't be done, as munging must occur for the -J option.
--
Summary: gjdoc.sh can't handle arguments with single quotes
Product: classpath
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: gjdoc
AssignedTo: julian at sektor37 dot de
ReportedBy: david at jpackage dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25704
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug gjdoc/25704] New: gjdoc.sh can't handle arguments with single quotes,
david at jpackage dot org <=