Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Direct set SearchParams on URL and remove sort. #3787

Merged
merged 1 commit into from Apr 16, 2021

Conversation

papan01
Copy link

@papan01 papan01 commented Apr 16, 2021

This PR will...

  • Set the SearchParams directly on URL instead of set to url.search.
  • Remove sort SearChParams.

Why is this Pull Request needed?

Through set url.search to add SearchParams that will cause the url isn't equal origin url even if doesn't have any parameter set to. I think the url.toString() will do encode and server side check the url by string type not equal origin url, so response 403 forbidden.

Are there any points in the code the reviewer needs to double check?

Please help to check my thoughts correctly.

Resolves issues:

#3786

@robwalch robwalch added this to In progress in Low-Latency HLS (LL-HLS) via automation Apr 16, 2021
@robwalch robwalch added this to the 1.0.2 milestone Apr 16, 2021
@robwalch robwalch linked an issue Apr 16, 2021 that may be closed by this pull request
5 tasks
@robwalch robwalch merged commit b3e9457 into video-dev:master Apr 16, 2021
Low-Latency HLS (LL-HLS) automation moved this from In progress to Done Apr 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

Live streaming is stuck, get lots of 403 (forbidden)
2 participants