Kev sent me a private link to the repo off-list...

A side-effect of the login redirect is causing this. If you visit the page
while logged in, instead of logging in as part of a login redirect when
clicking on the zip link, it works. i can't fix this because my left arm is
(again) tied up in a sling and programming with only 1 hand is exceedingly
annoying, but now that the problem has been reproduced, maybe one of the
other devs can take a look at it.

To reproduce:

- make sure downloading zip files requires being logged in (no guest user
access).

- without being logged in, visit some version link in the timeline.

- click the "download zip" option.

- land on the login page. Log in as anonymous.

- the redirect back to the zip causes (on my system) 'zip.zip' to be
downloaded.

- Re-visiting the version's page after logging in, and clicking download
zip there, works as expected. Thus is seems the redirect is the problem.




On Sat, Nov 28, 2015 at 12:07 PM, Stephan Beal <[email protected]>
wrote:

> On Sat, Nov 28, 2015 at 12:02 PM, arnoldemu <
> [email protected]> wrote:
>
>>
>> Hi Stephen,
>
>
> No worries - that's a very common mistake and i am quite used to it!
>
> Can the fossil zip command be used to configure the name for the UI?
>>
>
> No - only URL parameters can do that.
>
>
>> >If that's happening when you click the zip button in the UI, then that's
>> a
>> >bug. i cannot reproduce that on the main fossil site.
>>
>> Yes it happens via the UI.
>>
>> Click on artifact
>> Click on Download ZIP
>> Login with anonymous user
>>
>> See the display:
>>
>> ZIP Archive named Arnold-97bb1e1236.zip holding the content of check-in
>> 97bb1e12363f3865:
>>
>
> Do you have a link we can try this on? This isn't what i am seeing on the
> main site, e.g.:
>
> http://www.fossil-scm.org/fossil/info/52e3d9d845d1d1ad
>
> --
> ----- stephan beal
> http://wanderinghorse.net/home/stephan/
> http://gplus.to/sgbeal
> "Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
> those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
>



-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to