Actions
Bug #983
closedspaces in testfilename
Status:
Closed
Priority:
Normal
Assignee:
Eric Hou
Category:
Web interface
Target version:
Start date:
10/31/2010
Due date:
% Done:
0%
Estimated time:
Affected Version:
Appion/Leginon 2.0.2
Show in known bugs:
No
Workaround:
Description
I added a "trim" to all the $_POST['testfilename'] variables, since accidentally having a whitespace at the beginning or end of the filename would replace the space with a comma, and the command wouldn't work properly
Updated by Eric Hou about 14 years ago
- Status changed from Assigned to In Test
code looks good. Actually you can have a loop at the beginning (if ($_POST) )to trim all the POST values.
Thanks.
Eric
Updated by Gabriel Lander about 14 years ago
should I add a loop, or should we leave the code as is?
Updated by Eric Hou about 14 years ago
You can just leave it as it. I was just giving you a better solution.
Eric
Updated by Gabriel Lander about 14 years ago
- Status changed from In Test to Closed
Actions