Gallery Remote and Digest Authentication
|
witzend
Joined: 2007-08-15
Posts: 3 |
Posted: Wed, 2007-08-15 20:05
|
|
i am trying to use remote gallery to access a gallery where the the login fails due to the following error extracted from apache logs Digest: uri mismatch - the key difference is between main.php%3F and main.php? can anyone offer suggestions as to a resolution or direct me as for information, the url rewriting (apache) is in-place. Many Thanks Gallery Remote: 1.5.1-b30 |
|
| Login or register to post comments |

Posts: 3
problems seems to lie in HTTPClient.DefaultAuthHandler (line 470).
fixing with ...
// fix up uri and nonce
params[uri] = new NVPair("uri",
URI.escape(req.getRequestURI(), URI.escpdQueryChar, false));
// URI.escape(req.getRequestURI(), URI.escpdPathChar, false));
seems to do the trick.
References, http://www.ietf.org/rfc/rfc2617.txt (Section 3.2.2.5)