Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query #35

Open
fengss opened this issue Jan 22, 2019 · 1 comment
Open

Query #35

fengss opened this issue Jan 22, 2019 · 1 comment

Comments

@fengss
Copy link

fengss commented Jan 22, 2019

req.query = req.path[q+1 : i]

I found this code to be able to query the path

2019/01/22 15:25:40 req path:/
2019/01/22 15:25:40 req query:file=1.txt

req.Path = sdata[s:s+q]
req.Query = sdata[s+q+1:i]

@tidwall
Copy link
Owner

tidwall commented Apr 29, 2019

Hi, is this a bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants