-
Notifications
You must be signed in to change notification settings - Fork 0
0.0.0-rc.7 #587
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
0.0.0-rc.7 #587
Conversation
- Added .gitignore for apptypes - Fixed not able to add differnt version to dependency - Fixed URL for Core and non core modules - Fixed github link for apptypes
- Cleanup apis generic form/view. - API client services should only list apis that are available for core in core app_type.
- Fix information displayed on repo create to add all instead of * as we want to include .(dot) files like .gitignore as well.
…d worldclock widgets #569
|
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
| href + | ||
| $('#{{componentId}}-{{sectionId}}-dashboards').select2().val() |
Check failure
Code scanning / CodeQL
DOM text reinterpreted as HTML High
DOM text
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI 12 months ago
To fix the problem, we need to ensure that the value obtained from select2().val() is properly encoded before being used in the URL. This can be achieved by using a function that encodes the value to make it safe for inclusion in a URL. JavaScript's encodeURIComponent function is suitable for this purpose.
- We will modify the code to use
encodeURIComponenton the value obtained fromselect2().val(). - This change will be made on line 490 where the value is concatenated with the
href.
-
Copy modified lines R489-R490
| @@ -488,4 +488,4 @@ | ||
| 'href', | ||
| href + | ||
| $('#{{componentId}}-{{sectionId}}-dashboards').select2().val() | ||
| href + | ||
| encodeURIComponent($('#{{componentId}}-{{sectionId}}-dashboards').select2().val()) | ||
| ); |
No description provided.