New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Script with relative @resource/@require path fails to install #1262
Comments
Edit: Mh, apparently I accidentally clicked "Comment and close" - sorry. |
Yeah, GitHub makes that button way too big and easy to hit. Reopened. |
For this script: https://gist.github.com/794325 Before the patch above, I get an alert:
After this patch, it appears to work. |
Closed by c838d49. |
Only try to parse the supplied base if it's a string, otherwise assume it's already a uri object.
The problem here is that
Config#parse
passes a URI-object as baseUrl to GM_uriFromUrl, which expects it to be a string and thus throws an error when trying to parse that URI-object as URL.Testcase
The text was updated successfully, but these errors were encountered: