|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2014-08-02 03:26 UTC] cweiske@php.net
Description: ------------ My webapp uses mod_rewrite to rewrite URLs for easier processing in PHP: > /user/cweiske -> user.php?name=cweiske OAuth clients use http://example.org/user/cweiske as URL and generate the signature for it. OAuthProvider::checkOAuthRequest() uses the same URL because I pass it, but it also uses the GET parameter $_GET[name] during signature verification. Unsetting it via unset($_GET['name']) unfortunately does not work, so I'm left with invalid signatures. I see two solutions: 1. Read the modified $_GET array 2. Add a "ignoreParam" method to OAuthProvider (this is with pecl/oauth 1.2.3) PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 19 22:00:01 2025 UTC |
I can confirm that setParam("foo", null); works. So it is a problem of missing documentation.