mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
Updated UriEncodingSanitizer comment
This commit is contained in:
@@ -106,9 +106,9 @@ module RequestForgery {
|
||||
private import Xss as Xss
|
||||
|
||||
/**
|
||||
* A call to `encodeURI` or `encodeURIComponent`, viewed as a sanitizer for request forgery.
|
||||
* A call to `encodeURIComponent`, viewed as a sanitizer for request forgery.
|
||||
* These calls will escape "/" to "%2F", which is not a problem for request forgery.
|
||||
* The result from calling `encodeURI` or `encodeURIComponent` is not a valid URL, and only makes sense
|
||||
* The result from calling `encodeURIComponent` is not a valid URL, and only makes sense
|
||||
* as a part of a URL.
|
||||
*/
|
||||
class UriEncodingSanitizer extends Sanitizer instanceof Xss::Shared::UriEncodingSanitizer {
|
||||
|
||||
Reference in New Issue
Block a user