Clarification Needed on TrustedOrigins Variable Usage
kokoichi206 opened this issue · 1 comments
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Based on my understanding and testing, it appears that the variable should actually contain Host values (e.g., github.com) rather than full Origin values (e.g., https://github.com).
Lines 261 to 262 in a009743
This distinction was not immediately clear from the documentation or the code comments (This is stated in the only README).
Expected Behavior
To avoid potential confusion, would it be possible to consider renaming the variable to something more indicative of its intended content, such as TrustedHosts?
If renaming is not feasible for backward compatibility, perhaps adding a more explicit explanation or comment in the code to clarify the expected format of values could be helpful.
Lines 123 to 128 in a009743
Steps To Reproduce
No response
Anything else?
No response
This ticket is marked as a bug, but it's more of a suggestion for clarification rather than an issue with the functionality itself.