Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When the user enters a valid Piwik URL that doesn't end in a slash, the name of the script is appended without checking if the resulting URL is valid, resulting in the following crash:
InvalidArgumentException: Unable to parse URI: http://localhost:8000piwik.php in GuzzleHttp\Psr7\Uri->__construct() (line 71 of /home/pieter/v/joinup/vendor/guzzlehttp/psr7/src/Uri.php).
Let's autofix the URL like we did in the Drupal 6 & 7 versions of the module, see #1776938: Piwik HTTP URL Validation (trailing slash).
Comment | File | Size | Author |
---|---|---|---|
#2 | 2891105-1.patch | 818 bytes | pfrenssen |
|
Comments
Comment #2
pfrenssenComment #3
hass CreditAttribution: hass commentedComment #4
hass CreditAttribution: hass commentedComment #5
hass CreditAttribution: hass commented