[bug] : rest/1.2.2 password and smugmug.images.get

adam.zochowskiadam.zochowski Registered Users Posts: 2 Beginner grinner
session generated with smugmug.login.anonymous

Using smugmug.images.get on any password protected album always returns bad user/password missing in rest/1.2.2


example ::

/services/api/rest/1.2.2/?method=smugmug.images.get&SessionID=xx&Password=badPassword&AlbumID=9111363&AlbumKey=Fk6kH

<?xml version="1.0" encoding="utf-8"?>
<rsp stat="fail"><method>smugmug.images.get</method><err code="4" msg="invalid user (missing Password parameter)"/></rsp>

/services/api/rest/1.2.2/?method=smugmug.images.get&SessionID=xx&Password=test&AlbumID=9111363&AlbumKey=Fk6kH


<?xml version="1.0" encoding="utf-8"?>
<rsp stat="fail"><method>smugmug.images.get</method><err code="4" msg="invalid user (missing Password parameter)"/></rsp>


----

This works properly with 1.2.1

/services/api/rest/1.2.1/?method=smugmug.images.get&SessionID=xx&Password=badPassword&AlbumID=9111363&AlbumKey=Fk6kH
not gzip friendly, returning pure response data
<?xml version="1.0" encoding="utf-8"?>
<rsp stat="fail">
<err code="4" msg="invalid user (missing/incorrect album password)"/>
</rsp>

/services/api/rest/1.2.1/?method=smugmug.images.get&SessionID=xx&Password=test&AlbumID=9111363&AlbumKey=Fk6kH
not gzip friendly, returning pure response data
<?xml version="1.0" encoding="utf-8"?>
<rsp stat="ok">
<method>smugmug.images.get</method>
<Images>
<Image id="607240438" Key="L3ntS"/>
</Images>
</rsp>


Kind regards

Adam Żochowski

Comments

  • devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited July 31, 2009
    G'day Adam,

    I've fixed it internally...I'll post in this thread when it goes live.

    Thanks,

    David
    David Parry
    SmugMug API Developer
    My Photos
  • VolesholeVoleshole Registered Users Posts: 3 Beginner grinner
    edited August 6, 2009
    David: Any news on a fix for 1.2.2? I find that I am getting time outs when I try this on 1.2.1 and "bad password" responses on 1.2.2. Anything I could be doing wrong?

    Martin
    devbobo wrote:
    G'day Adam,

    I've fixed it internally...I'll post in this thread when it goes live.

    Thanks,

    David
  • devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited August 6, 2009
    yeah, it's not live yet unfortunately, hoping that it will go today/tomorrow.
    David Parry
    SmugMug API Developer
    My Photos
Sign In or Register to comment.