Skip to content

Fix RESTRICTED_TOKENS typo: " javax" (leading space) fails to prevent javax binding#12709

Open
robinkarlberg wants to merge 1 commit intoapache:mainfrom
robinkarlberg:main
Open

Fix RESTRICTED_TOKENS typo: " javax" (leading space) fails to prevent javax binding#12709
robinkarlberg wants to merge 1 commit intoapache:mainfrom
robinkarlberg:main

Conversation

@robinkarlberg
Copy link

Description

RESTRICTED_TOKENS is used to blacklist tokens for the JavaScript engine, used for rules etc. However, I saw that one of the entries " javax" has an accidental space in it, it should most likely be "javax".

As far as I understand, the typo does not lead to any security impact as the --no-java flag disables javax access, so that's why I'm creating an issue here on GitHub, and not a vulnerability disclosure. Consider this more of a little cleanup of the code.

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • Build/CI
  • Test (unit or integration test code)

How Has This Been Tested?

Test still pass.

@boring-cyborg
Copy link

boring-cyborg bot commented Feb 25, 2026

Congratulations on your first Pull Request and welcome to the Apache CloudStack community! If you have any issues or are unsure about any anything please check our Contribution Guide (https://github.com/apache/cloudstack/blob/main/CONTRIBUTING.md)
Here are some useful points:

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.

1 participant