Skip to content

Commit cb51a42

Browse files
authored
Merge pull request #3 from ian-semmle/getURL
C++: Make Folder.getURL() consistent with Folder.getLocation()
2 parents a01a453 + 0f35078 commit cb51a42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/src/semmle/code/cpp/File.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ class Folder extends Container, @folder {
192192
* Gets the URL of this folder.
193193
*/
194194
deprecated override string getURL() {
195-
result = "folder://" + getAbsolutePath()
195+
result = "file://" + this.getAbsolutePath() + ":0:0:0:0"
196196
}
197197

198198
/**

0 commit comments

Comments
 (0)