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
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | search_api_pantheon-n3261858-3.patch | 562 bytes | damienmckenna |
| #3 | search_api_pantheon-n3261858-3.interdiff.txt | 568 bytes | damienmckenna |
| #2 | 3261858.patch | 516 bytes | heddn |
Comments
Comment #2
heddnComment #3
damienmckennaA small change to make sure the string doesn't accidentally have two leading slashes.
Comment #4
damienmckennaThis 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?
Comment #5
damienmckennaUsing my comaintainer hat to indicate this resolves the problem.
Comment #6
damienmckennaI created a pull request for this change: https://github.com/pantheon-systems/search_api_pantheon/pull/162
Comment #8
kporras07 commentedThanks! This was committed and released in 8.1.2
Comment #9
kporras07 commented