]> git.mxchange.org Git - quix0rs-gnu-social.git/commit - lib/profileminilist.php
Make OMB work if the configured domain name does not exclusively contain lower case...
authorAdrian Lang <mail@adrianlang.de>
Wed, 15 Apr 2009 07:18:43 +0000 (09:18 +0200)
committerAdrian Lang <mail@adrianlang.de>
Wed, 15 Apr 2009 07:18:43 +0000 (09:18 +0200)
commitfc6cedd2227d9d560736e494f431e2b40b26b45c
tree1893481527acc1ba2252db1567cd2e3d819c5681
parente876b74e8ba7e80edcb9a13bff15deff4aa6ff15
parent1ba3ac9ee3f00472e0b7f8f25955967ab816a3fd
Make OMB work if the configured domain name does not exclusively contain lower case letters.

If the configured domain is mixed-case OAuth throws invalidsignature errors. The current URL is part of the signated parts; since the consumer does not pass the current URL, the service has to get it itself and add it to the other OAuth params for signature rebuilding. OAuth.php uses $_SERVER for this, however, the domain is lcased in $_SERVER. Hence we pass the complete current URL as generated by common_local_url to OAuthRequest.
actions/finishremotesubscribe.php