Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISPConfig
ISPConfig 3
Commits
0641b184
Commit
0641b184
authored
Mar 03, 2010
by
tbrehm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved URL regex.
parent
61c77268
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
interface/web/sites/form/web_aliasdomain.tform.php
interface/web/sites/form/web_aliasdomain.tform.php
+1
-1
interface/web/sites/form/web_domain.tform.php
interface/web/sites/form/web_domain.tform.php
+1
-1
interface/web/sites/form/web_subdomain.tform.php
interface/web/sites/form/web_subdomain.tform.php
+1
-1
No files found.
interface/web/sites/form/web_aliasdomain.tform.php
View file @
0641b184
...
...
@@ -112,7 +112,7 @@ $form["tabs"]['domain'] = array (
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'TEXT'
,
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'REGEX'
,
'regex'
=>
'@^(([.]{0})|(https?://([-\w\.]+)+(:\d+)?(/([\w/_\.]*(\?\S+)?)?)?)|(/[\w/_\.\-]{1,255}/))$@'
,
'regex'
=>
'@^(([.]{0})|(https?://([-\w\.]+)+(:\d+)?(/([\w/_\.
\-\,
]*(\?\S+)?)?)?)|(/[\w/_\.\-]{1,255}/))$@'
,
'errmsg'
=>
'redirect_error_regex'
),
),
'default'
=>
''
,
...
...
interface/web/sites/form/web_domain.tform.php
View file @
0641b184
...
...
@@ -224,7 +224,7 @@ $form["tabs"]['redirect'] = array (
'redirect_path'
=>
array
(
'datatype'
=>
'VARCHAR'
,
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'REGEX'
,
'regex'
=>
'@^(([.]{0})|(https?://([-\w\.]+)+(:\d+)?(/([\w/_\.]*(\?\S+)?)?)?)|(/[\w/_\.\-]{1,255}/))$@'
,
'regex'
=>
'@^(([.]{0})|(https?://([-\w\.]+)+(:\d+)?(/([\w/_\.
\,\-
]*(\?\S+)?)?)?)|(/[\w/_\.\-]{1,255}/))$@'
,
'errmsg'
=>
'redirect_error_regex'
),
),
'formtype'
=>
'TEXT'
,
...
...
interface/web/sites/form/web_subdomain.tform.php
View file @
0641b184
...
...
@@ -112,7 +112,7 @@ $form["tabs"]['domain'] = array (
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'TEXT'
,
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'REGEX'
,
'regex'
=>
'@^(([.]{0})|(https?://([-\w\.]+)+(:\d+)?(/([\w/_\.]*(\?\S+)?)?)?)|(/[\w/_\.\-]{1,255}/))$@'
,
'regex'
=>
'@^(([.]{0})|(https?://([-\w\.]+)+(:\d+)?(/([\w/_\.
\-\,
]*(\?\S+)?)?)?)|(/[\w/_\.\-]{1,255}/))$@'
,
'errmsg'
=>
'redirect_error_regex'
),
),
'default'
=>
''
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment