Bug 148904 - WebSphere wsadmin command should quote application names
Summary: WebSphere wsadmin command should quote application names
Status: NEW
Alias: None
Product: WTP ServerTools
Classification: WebTools
Component: jst.server (show other bugs)
Version: 1.5   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Sinan Konya CLA
QA Contact: Tim deBoer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-27 18:20 EDT by Chris Rose CLA
Modified: 2006-06-28 06:30 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Rose CLA 2006-06-27 18:20:57 EDT
WebSphere allows spaces in its application names, however the wsadmin commands in the websphere.6.x.xml build script do not quote those values.

For example, in the deploy.j2ee.ear target, the <wsadmin /> task's @command attribute is command="$AdminApp uninstall ${module.name}" when it should be command="$AdminApp uninstall {${module.name}}", which would allow spaces to be used in the application name.

This fix should be applied to all wsadmin commands that take arbitrary user-provided names.