Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dirk Dankhoff
ISPConfig 3
Commits
fb928bcc
Commit
fb928bcc
authored
Sep 05, 2011
by
tbrehm
Browse files
Fixed: FS#1725 - Website Redirect not accepting some characters
parent
8e9a5fdf
Changes
3
Show whitespace changes
Inline
Side-by-side
interface/web/sites/form/web_aliasdomain.tform.php
View file @
fb928bcc
...
...
@@ -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 @
fb928bcc
...
...
@@ -236,7 +236,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 @
fb928bcc
...
...
@@ -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
Supports
Markdown
0%
Try again
or
attach a new 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