Skip to content

Conversation

lukebakken
Copy link
Collaborator

@lukebakken lukebakken commented Apr 28, 2025

A security scanner flagged the use of RegExp with unsanitized input. Turns out, these functions are no longer used and can be deleted.

lbakken@shostakovich ~/development/rabbitmq/rabbitmq-server (lukebakken/delete-unused-js $=)
$ git grep getAccessToken

lbakken@shostakovich ~/development/rabbitmq/rabbitmq-server (lukebakken/delete-unused-js $=)
$ git grep getParameterByName

A security scanner flagged the use of `RegExp` with unsanitized input.
Turns out, these functions are no longer used and can be deleted.
@michaelklishin
Copy link
Collaborator

@lukebakken that's my favorite type of solution, haha!

@michaelklishin michaelklishin added this to the 4.2.0 milestone Apr 28, 2025
@michaelklishin michaelklishin merged commit 467601a into main Apr 28, 2025
271 checks passed
@michaelklishin michaelklishin deleted the lukebakken/delete-unused-js branch April 28, 2025 23:09
michaelklishin added a commit that referenced this pull request Apr 28, 2025
Remove unused Javascript functions (backport #13822)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants