Skip to content
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

style: format code with Prettier #257

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

deepsource-autofix[bot]
Copy link

This commit fixes the style issues introduced in e3006b8 according to the output
from Prettier.

Details: None

This commit fixes the style issues introduced in e3006b8 according to the output
from Prettier.

Details: None
win.setAlwaysOnTop(value);
break;
case "theme":
$("link#theme").attr("href", "themes/" + value + ".css");

Check warning

Code scanning / CodeQL

DOM text reinterpreted as HTML Medium

DOM text
is reinterpreted as HTML without escaping meta-characters.
DOM text
is reinterpreted as HTML without escaping meta-characters.
DOM text
is reinterpreted as HTML without escaping meta-characters.
DOM text
is reinterpreted as HTML without escaping meta-characters.
DOM text
is reinterpreted as HTML without escaping meta-characters.
DOM text
is reinterpreted as HTML without escaping meta-characters.
var username = App.settings.opensubtitlesUsername;
var password = require("crypto")
.createHash("md5")
.update(App.settings.opensubtitlesPassword)

Check failure

Code scanning / CodeQL

Use of password hash with insufficient computational effort High

Password from
an access to opensubtitlesPassword
is hashed insecurely.
process.execPath.substr(0, process.execPath.lastIndexOf("/") + 1) +
"../../../../Resources/app.nw/";
require("child_process").exec(
'"' + pctPath + 'src/duti/duti" -s media.popcorntime.player magnet',

Check warning

Code scanning / CodeQL

Shell command built from environment values Medium

This shell command depends on an uncontrolled
absolute path
.
Comment on lines +1068 to +1070
'"' +
pctPath +
'src/duti/duti" -s media.PopcornTimeCE.player .torrent viewer',

Check warning

Code scanning / CodeQL

Shell command built from environment values Medium

This shell command depends on an uncontrolled
absolute path
.
url.hostname,
{
servername: url.hostname,
rejectUnauthorized: false,

Check failure

Code scanning / CodeQL

Disabling certificate validation High

Disabling certificate validation is strongly discouraged.
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.

0 participants