Allow https to follow redirection when requesting latest release data #1510

Merged
dan1d merged 1 commit from issue-1505 into master 2018-06-01 04:06:53 +02:00
dan1d commented 2018-05-23 21:31:42 +02:00 (Migrated from github.com)

Closes #1505 as it allows https to follow redirections, it checks for status 301 and 302.

I've looked through https docs and github https to see if there was an easier way or option to allow redirections, but I couldn't find anything.

Closes #1505 as it allows https to follow redirections, it checks for status 301 and 302. I've looked through [https docs](https://nodejs.org/api/https.html) and [github https](https://github.com/nodejs/node/blob/master/lib/https.js) to see if there was an easier way or option to allow redirections, but I couldn't find anything.
tzarebczan commented 2018-05-25 21:45:20 +02:00 (Migrated from github.com)

Thanks is great @dan1d , thanks for taking care of it so quickly! Hopefully we can get a patch release with this fix for the old app next week :) (working out some build issues at the moment).

Thanks is great @dan1d , thanks for taking care of it so quickly! Hopefully we can get a patch release with this fix for the old app next week :) (working out some build issues at the moment).
skhameneh (Migrated from github.com) approved these changes 2018-05-29 06:44:29 +02:00
neb-b (Migrated from github.com) approved these changes 2018-05-30 05:05:50 +02:00
neb-b commented 2018-05-30 05:06:31 +02:00 (Migrated from github.com)

@tzarebczan Do you know how we can test this without renaming?

@tzarebczan Do you know how we can test this without renaming?
tzarebczan commented 2018-05-30 15:59:07 +02:00 (Migrated from github.com)

@seanyesmunt not easily, but could stage something on a local repo - I don't think it's worth it. I'll test this today by temporarily renaming lbry-app to lbry-desktop again.

@seanyesmunt not easily, but could stage something on a local repo - I don't think it's worth it. I'll test this today by temporarily renaming lbry-app to lbry-desktop again.
tzarebczan commented 2018-05-30 21:06:32 +02:00 (Migrated from github.com)

Tested and looks like it's working as expected!

Tested and looks like it's working as expected!
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-desktop#1510
No description provided.