Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Stud.IP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Marcus Eibrink-Lunzenauer
Stud.IP
Commits
ae87f6f0
Commit
ae87f6f0
authored
1 year ago
by
Jan-Hendrik Willms
Browse files
Options
Downloads
Patches
Plain Diff
fixes #3618
Closes #3618 Merge request
studip/studip!2520
parent
f86e589f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
vendor/oauth-php/library/OAuthRequest.php
+1
-1
1 addition, 1 deletion
vendor/oauth-php/library/OAuthRequest.php
vendor/oauth-php/library/discovery/xrds_parse.php
+3
-3
3 additions, 3 deletions
vendor/oauth-php/library/discovery/xrds_parse.php
with
4 additions
and
4 deletions
vendor/oauth-php/library/OAuthRequest.php
+
1
−
1
View file @
ae87f6f0
...
@@ -702,7 +702,7 @@ class OAuthRequest
...
@@ -702,7 +702,7 @@ class OAuthRequest
{
{
$v
=
trim
(
$v
);
$v
=
trim
(
$v
);
list
(
$name
,
$value
)
=
explode
(
'='
,
$v
,
2
);
list
(
$name
,
$value
)
=
explode
(
'='
,
$v
,
2
);
if
(
!
empty
(
$value
)
&&
$value
{
0
}
==
'"'
&&
substr
(
$value
,
-
1
)
==
'"'
)
if
(
!
empty
(
$value
)
&&
$value
[
0
]
==
'"'
&&
substr
(
$value
,
-
1
)
==
'"'
)
{
{
$value
=
substr
(
substr
(
$value
,
1
),
0
,
-
1
);
$value
=
substr
(
substr
(
$value
,
1
),
0
,
-
1
);
}
}
...
...
This diff is collapsed.
Click to expand it.
vendor/oauth-php/library/discovery/xrds_parse.php
+
3
−
3
View file @
ae87f6f0
...
@@ -75,7 +75,7 @@ function xrds_parse ( $data )
...
@@ -75,7 +75,7 @@ function xrds_parse ( $data )
foreach
(
$uris
as
$uri
)
foreach
(
$uris
as
$uri
)
{
{
// TODO: support uris referring to service documents outside this one
// TODO: support uris referring to service documents outside this one
if
(
$uri
{
0
}
==
'#'
)
if
(
$uri
[
0
]
==
'#'
)
{
{
$id
=
substr
(
$uri
,
1
);
$id
=
substr
(
$uri
,
1
);
$oauth
=
xrds_xrd_oauth
(
$xpath
,
$id
);
$oauth
=
xrds_xrd_oauth
(
$xpath
,
$id
);
...
@@ -203,7 +203,7 @@ function xrds_xrd_oauth_service ( $n )
...
@@ -203,7 +203,7 @@ function xrds_xrd_oauth_service ( $n )
{
{
$service
[
'consumer_key'
]
=
$value
;
$service
[
'consumer_key'
]
=
$value
;
}
}
else
if
(
$name
{
0
}
!=
'#'
)
else
if
(
$name
[
0
]
!=
'#'
)
{
{
$service
[
strtolower
(
$name
)]
=
$value
;
$service
[
strtolower
(
$name
)]
=
$value
;
}
}
...
@@ -301,4 +301,4 @@ function xrds_priority ( $elt )
...
@@ -301,4 +301,4 @@ function xrds_priority ( $elt )
/* vi:set ts=4 sts=4 sw=4 binary noeol: */
/* vi:set ts=4 sts=4 sw=4 binary noeol: */
?>
?>
\ No newline at end of file
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