Author: jfthomps
Date: Fri May 18 17:02:37 2012
New Revision: 1340170
URL: http://svn.apache.org/viewvc?rev=1340170&view=rev
Log:
VCL-576
Finalizing for 2.3 release
requests.php: modified AJsubmitEditRequest - added () to allowed characters for
server names since they are often in image names and the default name for
servers is the name of the image - did not change the error message to reflect
this due to it requiring retranslation
Modified:
incubator/vcl/trunk/web/.ht-inc/requests.php
Modified: incubator/vcl/trunk/web/.ht-inc/requests.php
URL:
http://svn.apache.org/viewvc/incubator/vcl/trunk/web/.ht-inc/requests.php?rev=1340170&r1=1340169&r2=1340170&view=diff
==============================================================================
--- incubator/vcl/trunk/web/.ht-inc/requests.php (original)
+++ incubator/vcl/trunk/web/.ht-inc/requests.php Fri May 18 17:02:37 2012
@@ -2634,7 +2634,7 @@ function AJsubmitEditRequest() {
$testlogingroupid != $request['logingroupid'])
$updategroups = 1;
$servername = processInputVar('servername', ARG_STRING);
- if(! preg_match('/^([-a-zA-Z0-9\. ]){3,255}$/', $servername)) {
+ if(! preg_match('/^([-a-zA-Z0-9\.\(\) ]){3,255}$/',
$servername)) {
$cdata = getContinuationVar();
$cont = addContinuationsEntry('AJsubmitEditRequest',
$cdata, SECINDAY, 1, 0);
sendJSON(array('status' => 'error',