Project

General

Profile

Actions

Bug #983

closed

spaces in testfilename

Added by Gabriel Lander about 14 years ago. Updated about 14 years ago.

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

Actions #1

Updated by Gabriel Lander about 14 years ago

r14976

Actions #2

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

Actions #3

Updated by Gabriel Lander about 14 years ago

should I add a loop, or should we leave the code as is?

Actions #4

Updated by Eric Hou about 14 years ago

You can just leave it as it. I was just giving you a better solution.

Eric

Actions #5

Updated by Gabriel Lander about 14 years ago

  • Status changed from In Test to Closed
Actions

Also available in: Atom PDF