As a follow on from #46 I checked that API calls didn't break when a label name included a /
.
They do, and commit 176375b introduced an urlencode()
call, which fixed fetching of label names like Resolution::Fixed/Done
.
However it's broken fetch of Resolution::Won't Fix
Urlencode changes that to Resolution%3A%3AWon%27t+Fix
which Gitlab's API apparently doesn't like.
It looks like it's the +
that it doesn't like, expecting %20
instead.
Activity
26-Aug-22 16:11
assigned to @btasker
26-Aug-22 16:12
Switching from
urlencode()
torawurlencode()
fixes this.The latter observes RFC3986 whilst
urlencode()
uses the old approach.26-Aug-22 16:13
I'll leave this marked as a Gitlab API Foible - it's not unreasonable of them to expect RFC compliance, but it's such a common thing you'd expect it to be handled (IMO).