Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

#359 closed defect (wontfix)

& (ampersand) not allowed in shell arguments

Reported by: anonymous Owned by: cmlenz
Priority: minor Milestone:
Component: Recipe commands Version: dev
Keywords: sh:exec Cc:
Operating System: Mac OS X

Description

That is you have to replace it with the html escape & to make it work.

While this is not hard to do it's annoying for everybody to remember. So because we're not dealing with html, I'd like to propose that html escaping of special characters in shell arguments isn't necessary.

Attachments (0)

Change History (1)

comment:1 Changed 15 years ago by osimons

  • Milestone 0.6 deleted
  • Resolution set to wontfix
  • Status changed from new to closed

Not quite correct - they are also XML entities:

http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references

As Bitten build recipes are required to be valid XML documents that are parsed by non-Bitten tools (currently Python xml library), I don't see how this requirement can be dropped (as this project won't be making it's own XML parser).

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain cmlenz.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.