mozilla / assay

A Firefox Addons review tool disguised as a VSCode extension
Mozilla Public License 2.0
8 stars 3 forks source link

checkUri() May Incorrectly Identify Root Folder #120

Closed chrstinalin closed 2 months ago

chrstinalin commented 3 months ago

Assay checks if the full path starts with the add-ons root folder to determine whether it's inside the root folder. This doesn't account for folders such as /root/folder-pseudo also starting with /root/folder, causing it to be incorrectly identified as the root folder and activating comments.