Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
ISPConfig 3
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
isp
ISPConfig 3
Commits
371590ef
Commit
371590ef
authored
Jan 09, 2018
by
Till Brehm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed #4863 URL Redirect doesn't accept #anchors
parent
3a8ee9e4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
interface/web/sites/form/web_childdomain.tform.php
interface/web/sites/form/web_childdomain.tform.php
+1
-1
interface/web/sites/form/web_vhost_domain.tform.php
interface/web/sites/form/web_vhost_domain.tform.php
+1
-1
No files found.
interface/web/sites/form/web_childdomain.tform.php
View file @
371590ef
...
...
@@ -125,7 +125,7 @@ $form["tabs"]['domain'] = array (
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'TEXT'
,
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'REGEX'
,
'regex'
=>
'@^(([\.]{0})|((ftp|https?
)://([-\w\.]+)+(:\d+)?(/([\w/_\.\-\,\+\?\~!:%]*(\?\S+)?)?)?)|(\[scheme\]://([-\w\.]+)+(:\d+)?(/([\w/_\.\-\,\+\?\~!:%]*(\?\S+)?)?)?)
|(/(?!.*\.\.)[\w/_\.\-]{1,255}/))$@'
,
'regex'
=>
'@^(([\.]{0})|((ftp|https?
|\[scheme\])://([-\w\.]+)+(:\d+)?(/([\w/_\.\,\-\+\?\~!:%]*(\?\S+)?)?)?)(?:#\S*)?
|(/(?!.*\.\.)[\w/_\.\-]{1,255}/))$@'
,
'errmsg'
=>
'redirect_error_regex'
),
),
'default'
=>
''
,
...
...
interface/web/sites/form/web_vhost_domain.tform.php
View file @
371590ef
...
...
@@ -396,7 +396,7 @@ $form["tabs"]['redirect'] = array (
'redirect_path'
=>
array
(
'datatype'
=>
'VARCHAR'
,
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'REGEX'
,
'regex'
=>
'@^(([\.]{0})|((ftp|https?
)://([-\w\.]+)+(:\d+)?(/([\w/_\.\,\-\+\?\~!:%]*(\?\S+)?)?)?)|(\[scheme\]://([-\w\.]+)+(:\d+)?(/([\w/_\.\-\,\+\?\~!:%]*(\?\S+)?)?)?)
|(/(?!.*\.\.)[\w/_\.\-]{1,255}/))$@'
,
'regex'
=>
'@^(([\.]{0})|((ftp|https?
|\[scheme\])://([-\w\.]+)+(:\d+)?(/([\w/_\.\,\-\+\?\~!:%]*(\?\S+)?)?)?)(?:#\S*)?
|(/(?!.*\.\.)[\w/_\.\-]{1,255}/))$@'
,
'errmsg'
=>
'redirect_error_regex'
),
),
'formtype'
=>
'TEXT'
,
...
...
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