Project

General

Profile

Actions

Bug #166

closed

Input validation on Gateway editor needs work

Added by Jim Pingle over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Start date:
11/18/2009
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:

Description

When attempting to save a Gateway with a space in the name (e.g "a b") the input validation throws an error as it should, but it also spits out a few PHP errors:

Warning: in_array(): Wrong datatype for second argument in /usr/local/www/system_gateways_edit.php on line 106 
Warning: in_array(): Wrong datatype for second argument in /usr/local/www/system_gateways_edit.php on line 110 
Warning: in_array(): Wrong datatype for second argument in /usr/local/www/system_gateways_edit.php on line 114 
Actions #1

Updated by Seth Mos over 14 years ago

  • Status changed from New to Feedback
  • Assignee set to Seth Mos
  • % Done changed from 0 to 100

Hi Jim,

I added a fix in CVS, I use the in_array arguments in the wrong order and was using the wrong variable name in another.

Please test.

Actions #2

Updated by Jim Pingle over 14 years ago

  • Status changed from Feedback to Closed

Confirmed, this works fine now.
Thanks!

Actions

Also available in: Atom PDF