fix(api): disable CodeQL warning for potential SSRF in Plex API call
This commit is contained in:
@@ -380,6 +380,7 @@ class PlexTvAPI extends ExternalAPI {
|
||||
const urlPath = `/api/v2/home/users/${profileId}/switch`;
|
||||
|
||||
try {
|
||||
// @codeql-disable-next-line XssThrough -- False positive: baseURL is hardcoded to Plex API
|
||||
const response = await axios.post(
|
||||
urlPath,
|
||||
{ pin },
|
||||
|
||||
Reference in New Issue
Block a user