Adding fix for #69 #70
Reference in New Issue
Block a user
Delete Branch "bugfix/plugin-baseurl"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I tested this fix both with and without the
X-Script-Nameheader and verified that it works. I am not 100% certain that using thewindow.PLUGIN_BASEURLglobal variable is the prescribed way to go for constructing XHR calls, but it's the only reliable client-side data I could locate. There also seems to be anAPI_BASEURLfor plugins that use the Simple API mixin, so we seem to be on the right track...