Bad tests
This commit is contained in:
parent
d18918b020
commit
63e70c7933
|
@ -378,7 +378,7 @@ qr/^(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][-a-zA-
|
|||
},
|
||||
'exportedHeaders' => {
|
||||
'keyTest' =>
|
||||
'(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][-a-zA-Z0-9]*[a-zA-Z0-9]|[a-zA-Z])[.]?)',
|
||||
qr/^(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][-a-zA-Z0-9]*[a-zA-Z0-9]|[a-zA-Z])[.]?)$/,
|
||||
'type' => 'keyTextContainer'
|
||||
},
|
||||
'exportedVars' => {
|
||||
|
@ -639,7 +639,7 @@ qr/^(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][-a-zA-
|
|||
'default' => 'deny'
|
||||
},
|
||||
'keyTest' =>
|
||||
'(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][-a-zA-Z0-9]*[a-zA-Z0-9]|[a-zA-Z])[.]?)',
|
||||
qr/^(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][-a-zA-Z0-9]*[a-zA-Z0-9]|[a-zA-Z])[.]?)$/,
|
||||
'msgFail' => '__badHostname__',
|
||||
'type' => 'ruleContainer'
|
||||
},
|
||||
|
@ -1093,7 +1093,7 @@ qr/^(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][-a-zA-
|
|||
},
|
||||
'post' => {
|
||||
'keyTest' =>
|
||||
'(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][-a-zA-Z0-9]*[a-zA-Z0-9]|[a-zA-Z])[.]?)',
|
||||
qr/^(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][-a-zA-Z0-9]*[a-zA-Z0-9]|[a-zA-Z])[.]?)$/,
|
||||
'type' => 'postContainer'
|
||||
},
|
||||
'protection' => {
|
||||
|
|
|
@ -845,7 +845,7 @@ sub attributes {
|
|||
locationRules => {
|
||||
type => 'ruleContainer',
|
||||
help => 'writingrulesand_headers.html#rules',
|
||||
keyTest => $Regexp::Common::URI::RFC2396::hostname,
|
||||
keyTest => qr/^$Regexp::Common::URI::RFC2396::hostname$/,
|
||||
msgFail => '__badHostname__',
|
||||
default => {
|
||||
default => 'deny',
|
||||
|
@ -855,14 +855,14 @@ sub attributes {
|
|||
exportedHeaders => {
|
||||
type => 'keyTextContainer',
|
||||
help => 'writingrulesand_headers.html#headers',
|
||||
keyTest => $Regexp::Common::URI::RFC2396::hostname,
|
||||
keyTest => qr/^$Regexp::Common::URI::RFC2396::hostname$/,
|
||||
keyMsgFail => '__badHostname__',
|
||||
documentation => 'Virtualhost headers',
|
||||
},
|
||||
post => {
|
||||
type => 'postContainer',
|
||||
help => 'formreplay.html',
|
||||
keyTest => $Regexp::Common::URI::RFC2396::hostname,
|
||||
keyTest => qr/^$Regexp::Common::URI::RFC2396::hostname$/,
|
||||
keyMsgFail => '__badHostname__',
|
||||
documentation => 'Virtualhost urls/Datas to post',
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user