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

feat: ignore the query string when serving client JavaScript #4024

Merged
merged 1 commit into from
Aug 30, 2021
Merged

feat: ignore the query string when serving client JavaScript #4024

merged 1 commit into from
Aug 30, 2021

Conversation

TimWolla
Copy link
Contributor

The kind of change this PR does introduce

  • a bug fix
  • a new feature
  • an update to the documentation
  • a code change that improves performance
  • other

Current behavior

Client JavaScript will not be served if the request URL contains a query string.

New behavior

Client JavaScript will be served, even if the request URL contains a query string.

Other information (e.g. related issues)

Resolves #4023

@TDCLV
Copy link

TDCLV commented Aug 6, 2021

Would this be good to end client side interactions?

@TimWolla
Copy link
Contributor Author

TimWolla commented Aug 6, 2021

@TDCLV Sorry, I don't follow. Can you rephrase / expand on what your question is?

@darrachequesne darrachequesne merged commit 24fee27 into socketio:master Aug 30, 2021
@darrachequesne
Copy link
Member

@TimWolla thanks 👍

@TimWolla TimWolla deleted the client-with-query branch August 30, 2021 06:35
@TimWolla
Copy link
Contributor Author

My pleasure.

@darrachequesne darrachequesne added this to the 4.2.0 milestone Aug 30, 2021
dzad pushed a commit to dzad/socket.io that referenced this pull request May 29, 2023
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.

Support an arbitrary query string (cache buster) when serving the client JavaScript
3 participants