Skip to content

Commit 02d5fbf

Browse files
committed
remove superfluous space
1 parent 7d38b2d commit 02d5fbf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

javascript/ql/src/Security/CWE-200/PrivateFileExposure.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ DataFlow::Node getALeakingFolder(string description) {
8383
description = "the folder " + result.getFile().getParentContainer().getRelativePath()
8484
or
8585
result = DataFlow::moduleImport("os").getAMemberCall("homedir") and
86-
description = "the home folder "
86+
description = "the home folder"
8787
or
8888
result.mayHaveStringValue("/") and
8989
description = "the root folder"

javascript/ql/test/query-tests/Security/CWE-200/PrivateFileExposure.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
| private-file-exposure.js:22:1:22:58 | app.use ... lar/')) | Serves the folder "/node_modules/angular/", which can contain private information. |
1717
| private-file-exposure.js:40:1:40:88 | app.use ... lar/')) | Serves the folder "/node_modules/angular/", which can contain private information. |
1818
| private-file-exposure.js:41:1:41:97 | app.use ... lar/')) | Serves the folder "/node_modules/angular/", which can contain private information. |
19-
| private-file-exposure.js:42:1:42:66 | app.use ... dir())) | Serves the home folder , which can contain private information. |
19+
| private-file-exposure.js:42:1:42:66 | app.use ... dir())) | Serves the home folder, which can contain private information. |
2020
| private-file-exposure.js:43:1:43:46 | app.use ... )("/")) | Serves the root folder, which can contain private information. |
2121
| private-file-exposure.js:51:5:51:88 | app.use ... les'))) | Serves the folder "../node_modules", which can contain private information. |

0 commit comments

Comments
 (0)