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

Form value contains ":" be ignored #48

Open
abo opened this issue Jul 22, 2016 · 2 comments
Open

Form value contains ":" be ignored #48

abo opened this issue Jul 22, 2016 · 2 comments

Comments

@abo
Copy link

abo commented Jul 22, 2016

$ bat -v -f POST https://api.weibo.com/oauth2/access_token redirect_uri=http://127.0.0.1/project/oauth/callback

the redirect_uri did not sent to server

@prologic
Copy link

It's even worse, it doesn't work at all. Example:

$ bat -f POST http://10.0.0.109:8000/user/admin/webmention source=http://10.0.0.109:9000/twt/np4cvdq target=http://10.0.0.109:8000/user/admin/twtxt.txt
2022/01/23 10:28:24.183633 bat.go:215: can't get the url Post "http://10.0.0.109:8000/user/admin/webmention": net/http: invalid header field name "target=http"

@prologic
Copy link

#69 fixes this though. If the author doesn't merge some fixes soon, I'll publish my own fork of this nice tool

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