jcurse does not follow (or fail on) redirects

Issue #52 resolved
Haydon Murdoch created an issue

curse recently (?) changed the URLs of their zip files.

If trying to download via a browser, the user is redirected.

jcurse isn't yet able to handle this, and seems to download an empty zip instead. It fails to install the addon but doesn't give any kind of error.

My friend (who knows more java than me), fixed the issue and has allowed me to host it on my own github: https://github.com/yamogi/jcurse/commit/791b0baaa432880813f2fde10e5b6ff43dccf1d2

As described, the commit allows jcurse to fail on empty zips and follow redirects, solving the issue entirely.

Comments (6)

  1. Haydon Murdoch reporter

    @keiki sorry, I've never made an issue before, it's probably etiquette not to set you as an assignee. I can't work out how to remove it.

  2. Haydon Murdoch reporter

    @keiki awesome, many thanks! I don't know what I'd do without jcurse to manage my addons, thank you for your hard work.

  3. Log in to comment