Skip to content

Conversation

@gabf3st
Copy link

@gabf3st gabf3st commented Feb 17, 2021

Problems

I have files that are redirect multiple url.
If it is redirect less than 2 times, everything works fine.
But if it is redirect more than 2 times, redirected url since the 3rd time will be incorrect.

Root cause

base url we use was the original url (fileUrl) so at the 3rd time redirection which it should use the 2nd URL but it still use original URL.

Solution

Use url instead of fileUrl when assigning to base

@hnvn
Copy link
Member

hnvn commented Feb 27, 2021

LGTM

@hnvn hnvn merged commit c9b8f36 into fluttercommunity:master Feb 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants