Skip to content

fix(plugin): opening plugin from url (MIN-307)

mateusz-winiarczyk requested to merge MIN-307-opening-plugin-from-url into development

We check whether the script url and the url in the script itself match. If not, we will not have the url from inside the script in the hash map hashedPlugins and we will throw an error that the urls do not match. This will prevent plugins with non-matching urls from being loaded and will prevent an error in which the undefined hash is sent to the backend because the url was not found in the hash map and therefore undefined was sent to the backend in the registerPlugin method.

error-plugin-url-match

Closes MIN-307

Merge request reports