Commit 2262ece1 authored by Xavier Guimard's avatar Xavier Guimard

Bad tests

git-svn-id: svn://svn.forge.objectweb.org/svnroot/lemonldap/trunk@4081 1dbb9719-a921-0410-b57f-c3a383c2c641
parent 20349741
......@@ -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',
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment