Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simplesamlphp
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Perun
Perun ProxyIdP
v1
simplesamlphp
Commits
c24d37d7
Commit
c24d37d7
authored
9 years ago
by
Jaime Perez Crespo
Browse files
Options
Downloads
Patches
Plain Diff
Remove phpdoc for SimpleSAML_Utilities::redirect() so people is not tempted to use it.
parent
22377ae0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/SimpleSAML/Utilities.php
+0
-19
0 additions, 19 deletions
lib/SimpleSAML/Utilities.php
with
0 additions
and
19 deletions
lib/SimpleSAML/Utilities.php
+
0
−
19
View file @
c24d37d7
...
@@ -250,25 +250,6 @@ class SimpleSAML_Utilities {
...
@@ -250,25 +250,6 @@ class SimpleSAML_Utilities {
/**
/**
* This function redirects the user to the specified address.
*
* This function will use the "HTTP 303 See Other" redirection if the current request used the POST method and the
* HTTP version is 1.1. Otherwise, a "HTTP 302 Found" redirection will be used.
*
* The function will also generate a simple web page with a clickable link to the target page.
*
* @param string $url The URL we should redirect to. This URL may include query parameters. If this URL is a
* relative URL (starting with '/'), then it will be turned into an absolute URL by prefixing it with the absolute
* URL to the root of the website.
* @param string[] $parameters An array with extra query string parameters which should be appended to the URL. The
* name of the parameter is the array index. The value of the parameter is the value stored in the index. Both the
* name and the value will be urlencoded. If the value is NULL, then the parameter will be encoded as just the
* name, without a value.
* @param string[] $allowed_redirect_hosts An array with a whitelist of hosts for which redirects are allowed. If
* NULL, redirections will be allowed to any host. Otherwise, the host of the $url provided must be present in this
* parameter. If the host is not whitelisted, an exception will be thrown.
*
* @return void This function never returns.
* @deprecated 1.12.0 This function will be removed from the API. Instead, use the redirectTrustedURL or
* @deprecated 1.12.0 This function will be removed from the API. Instead, use the redirectTrustedURL or
* redirectUntrustedURL functions accordingly.
* redirectUntrustedURL functions accordingly.
*/
*/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment