Comments (6)
mmh weird, is the leading +
the issue?
from github4s.
The leading +
seems to be just fine. The following request works fine:
https://api.github.com/search/issues?q=+repo:47degrees/github4s+type:pr+label:enhancement+state:open
from github4s.
Ah okay I think I have some more info. IssuesInterpreter
assembles a query here:
At this point the value of the q
has a string value of: +repo:47degrees/github4s+type:pr+state:open+label:enhancement
I setup mitmproxy
to check what the actual request looks like, and the request it intercepts looks like this:
GET https://140.82.113.6/search/issues?q=%2Brepo%3A47degrees/github4s%2Btype%3Apr%2Bstate%3Aopen%2Blabel%3Aenhancement
It seems like percent encoding the +
and :
chars is breaking the request
from github4s.
good catch! 👍
from github4s.
I believe I've found the source of the issue. Whether or not it's a bug proper in http4s remains to be seen, but it appears that http4s uses different encoder settings for query parameters VS the main URL. I've submitted this to them as the above issue (the second one, the first was a similar issue I thought was related but was a bit different), so hopefully we will hear back soon!
from github4s.
Fix is posted above ^
from github4s.
Related Issues (20)
- Github4s not returning complete information about members of an organization HOT 3
- Ignore the reviewers test HOT 1
- Remove Auth.newAuth as it has been discontinued
- Repository doesn't contain a parent HOT 1
- "/" not accepted in searchRepos 's query HOT 8
- Update codebase to cats-effect 3 HOT 3
- ScalaJS artifacts for Scala 2.13 and Scala 3 HOT 4
- Support for error "Moved Permanently" HOT 2
- patch field being String in FileComparison causing compareCommit to crash HOT 1
- GET /search/code supported? HOT 2
- Flaky tests
- patch field being String in FileComparison causing compareCommit to crash
- List followers of a user HOT 3
- Support for Scala Native
- Flaky test `Repos >> ListStatus`
- bad documentation URL in github enterprise HOT 1
- Support merging of a pull request HOT 1
- Support reference deletion HOT 1
- Support retrieving auth user's email
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from github4s.