mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 17:30:09 +02:00
Remove the LGTM configuration and inline disable comments (issue 13829)
Given that the GitHub Advanced Security workflow now covers everything that LGTM does, but generally faster and with better GitHub-integration, there's no longer much point in also running LGTM separately. As a follow-up to this patch, we should also disable/remove the LGTM-integration from the PDF.js repository.
This commit is contained in:
parent
01fd0f59b7
commit
8fef8630fe
4 changed files with 3 additions and 12 deletions
|
@ -153,7 +153,7 @@ WebServer.prototype = {
|
|||
fileSize = stats.size;
|
||||
var isDir = stats.isDirectory();
|
||||
if (isDir && !/\/$/.test(pathPart)) {
|
||||
res.setHeader("Location", pathPart + "/" + urlParts[2]); // lgtm [js/server-side-unvalidated-url-redirection]
|
||||
res.setHeader("Location", pathPart + "/" + urlParts[2]);
|
||||
res.writeHead(301);
|
||||
res.end("Redirected", "utf8");
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue