mckoss / pageforest

Automatically exported from code.google.com/p/pageforest
0 stars 0 forks source link

pf get fails authentication #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
- cd to an empty directory
- pf get
- Fill in 
- Answer application, username, and password.

RESULTS:

HTTP Error 403: Forbidden: 
http://admin.scratch.pageforest.com/auth/challenge
Access denied. Missing Referer header. Please sign in and try again.

EXPECT:

To be able to download an app w/o getting an authentication error.

Original issue reported on code.google.com by mckoss@gmail.com on 29 May 2010 at 2:23

GoogleCodeExporter commented 9 years ago
We're failing in sign_in getting the challenge string.  The server is refusing 
the 
request because there is no referer.  I can patch pf.py to add one 
(scratch.pageforest.com?).  But is the correct solution to not worry about the 
referer when retrieving "public" resources (like a challenge string).

Note that I can GET http://admin.scratch.pageforest.com/index.html w/o getting 
a 403 
from the server.

Original comment by mckoss@gmail.com on 29 May 2010 at 2:27

GoogleCodeExporter commented 9 years ago
OK - I patched pf.py.  Johann, please review.  Note that pf get AND pf put were 
both 
broken.

Original comment by mckoss@gmail.com on 29 May 2010 at 2:36

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
In revision 848f688, I added a test command to perform a full roundtrip (pf put 
and
pf get) against an actual server.

Original comment by jcrocholl on 2 Jun 2010 at 11:23