Problem/Motivation

The following error is spit out by CI testing when using this module.

The path of a URI with an authority must start with a slash "/" or be empty. Automagically fixing the URI by adding a leading slash to the path is deprecated since version 1.4 and will throw an exception instead.

Steps to reproduce

Proposed resolution

Prefix the URL with a leading slash.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

heddn created an issue. See original summary.

heddn’s picture

Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new516 bytes
damienmckenna’s picture

A small change to make sure the string doesn't accidentally have two leading slashes.

damienmckenna’s picture

This error showed up for a project I'm working on when it was changed to use Guzzle 7 instead of the default Guzzle 6. Is your project also using Guzzle 7?

damienmckenna’s picture

Status: Needs review » Reviewed & tested by the community

Using my comaintainer hat to indicate this resolves the problem.

damienmckenna’s picture

  • 8ec16ffa committed on 8.x
    Issue #3261858 by DamienMcKenna, heddn: The path of a URI with an...
kporras07’s picture

Thanks! This was committed and released in 8.1.2

kporras07’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.