Escaped text from input fields
Hi everyone, I'm writing a wrapper that includes one text field. I'm then passing the contents of this field to the underlying tool with a simple: command $textfield However when a user inputs something like Test#1 the command ends up as: command Test__pd__1 I did a quick search on the web and it seems to be the name of some escaping function in galaxy. Is there any way I can get the text field content across untouched? Thanks, Renato
Hi Renato, Yes, Galaxy maps potentially problematic/dangerous characters to escaped versions. You can control this, see <sanitizer> on: https://wiki.galaxyproject.org/Admin/Tools/ToolConfigSyntax Peter On Sat, Jul 5, 2014 at 9:04 AM, Renato Alves <rjalves@igc.gulbenkian.pt> wrote:
Hi everyone,
I'm writing a wrapper that includes one text field.
I'm then passing the contents of this field to the underlying tool with a simple:
command $textfield
However when a user inputs something like Test#1 the command ends up as:
command Test__pd__1
I did a quick search on the web and it seems to be the name of some escaping function in galaxy.
Is there any way I can get the text field content across untouched?
Thanks, Renato
___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at: http://lists.bx.psu.edu/
To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/mailinglists/
participants (2)
-
Peter Cock
-
Renato Alves