From 0f350780bb42ef7e5c3aab83599110c4313d3d1a Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Wed, 1 Aug 2018 21:16:29 +0100 Subject: [PATCH] C++: Make Folder.getURL() consistent with Folder.getLocation() --- cpp/ql/src/semmle/code/cpp/File.qll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/ql/src/semmle/code/cpp/File.qll b/cpp/ql/src/semmle/code/cpp/File.qll index 3526739d5b46..524a43149359 100644 --- a/cpp/ql/src/semmle/code/cpp/File.qll +++ b/cpp/ql/src/semmle/code/cpp/File.qll @@ -192,7 +192,7 @@ class Folder extends Container, @folder { * Gets the URL of this folder. */ deprecated override string getURL() { - result = "folder://" + getAbsolutePath() + result = "file://" + this.getAbsolutePath() + ":0:0:0:0" } /**