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
piwik (matomo) plugin - malformed URL #4763
Comments
If we let (require) the user enter a full URL with protocol, we'll need to either require this be https to prevent failure of mixed protocol requests, or we'll need to strip the protocol before usage. If we let the user enter just a arbitrary DNS + path, we need to clarify the expectation within the form. The form error currently says "http://" is required. |
@dennmuel , @mpbraendle, can you test the proposed PR? |
Works on our test server. Thank you. |
Same here. :) Thanks! |
pkp/pkp-lib#4763: Replace full URL with protocol relative URL.
Thanks, @ctgraham! |
Added a new release of Piwik (v1.0.2-1) to the plugin gallery with this fix included. |
Describe the bug
https://forum.pkp.sfu.ca/t/ojs-v3-1-2-piwik-plugin-error/53349/2
To Reproduce
Steps to reproduce the behavior:
What application are you using?
OJS or OMP version 3.1.2
Additional information
Piwik plugin Settings form requires a URL:
https://github.com/pkp/piwik/blob/910bfd6b6464fb383dc7d476771d9551b8d6b308/PiwikSettingsForm.inc.php#L38
as of
pkp/piwik@e78646c
This setting is used as if it is a DNS name, or DNS name + path:
https://github.com/pkp/piwik/blob/910bfd6b6464fb383dc7d476771d9551b8d6b308/PiwikPlugin.inc.php#L122
The text was updated successfully, but these errors were encountered: