Project

General

Profile

« Previous | Next » 

Revision a6bd9e78

Added by Jim Pingle over 5 years ago

Validate CA/CRL serial input. Issue #9883 Issue #9869

View differences:

src/usr/local/www/system_camanager.php
236 236
		}
237 237
	}
238 238

  
239
	if (!empty($_POST['serial']) && !cert_validate_serial($_POST['serial'])) {
240
		$input_errors[] = gettext("Please enter a valid integer serial number.");
241
	}
242

  
239 243
	/* save modifications */
240 244
	if (!$input_errors) {
241 245
		$ca = array();

Also available in: Unified diff