This project is read-only.
1

Resolved

AccessProtectedResource with no queryparameter causes optional "?" in url.

description

Log of communication.
It seems that optional "?" in url causes problem.
 
GET http://twitter.com/statuses/home_timeline.xml? HTTP/1.1
Authorization: OAuth realm="http://twitter.com/",oauth_consumer_key="9bJehDpRc1JjVkSbuMnnw",oauth_token="76669960-diXB7vqYWrqvZKSSbD4x2aduINEnsSJdjmVxP9OU",oauth_signature_method="HMAC-SHA1",oauth_signature="EruE91iNpN0J3extPdu8Kb9c2xg%3D",oauth_timestamp="1256245140",oauth_nonce="f2c235be-d2a5-4450-b2ea-53f5a8ead201","dummy"="dummy"
Host: twitter.com
 
 
HTTP/1.1 401 Unauthorized
Date: Thu, 22 Oct 2009 11:59:01 GMT
Server: hi
WWW-Authenticate: Basic realm="Twitter API"
Status: 401 Unauthorized
Content-Type: application/xml; charset=utf-8
Content-Length: 141
Cache-Control: no-cache, max-age=1800
Set-Cookie: lang=ja; path=/
Set-Cookie: _twitter_sess=BAh7CToTcGFzc3dvcmRfdG9rZW4iLTdkYWViMjMyMjdjNDNjY2Y5MjAyOTZh%250AODBkNjczYmM1YmMyZDA4OWI6CXVzZXJpBAjkkQQ6B2lkIiUyYTc5ZWJiNDc2%250ANWQwZmI5MjIzZmM1ZTQ5ZGZiYzAxNSIKZmxhc2hJQzonQWN0aW9uQ29udHJv%250AbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%253D%253D--fd90f61677df64e9f545d21d01613b46df9051d0; domain=.twitter.com; path=/
Expires: Thu, 22 Oct 2009 12:29:01 GMT
Vary: Accept-Encoding
Proxy-Connection: close
Connection: close
 
<?xml version="1.0" encoding="UTF-8"?>
<hash>
<request>/statuses/home_timeline.xml?</request>
<error>Incorrect signature</error>
</hash>

comments

7k8m wrote Oct 22, 2009 at 1:11 PM

Mistaken.
Just an error of on-the-way-work of 5912.

Any way optional "?" is not good.
I will try remove it.

wrote Oct 22, 2009 at 1:11 PM

7k8m wrote Oct 22, 2009 at 1:56 PM

I fixed this :)

wrote Feb 13, 2013 at 11:19 PM

wrote May 16, 2013 at 3:30 AM

wrote May 16, 2013 at 3:30 AM

wrote Jun 14, 2013 at 8:14 AM