Seems there is a major bug with api request to Yourls
-
Hi
Since the recent update I kept on getting 403 error from my Yourls server.
Just checked with my nginx access log and it seems that there is problem with api request url. The biggest problem is that the url ampersand is being translated to ‘&’. The second problem I found is that the post title isn’t being escaped, so if I have a title such as ‘title#1’, I get an error again.current buggy url:
/yourls-api.php?url=https://SOME_URL&&keyword=about&title=test#1&signature=111111#038;action=shorturl&format=json which I think should be..
/yourls-api.php?url=https://SOME_URL/&keyword=about&title=test%231&signature=111111&action=shorturl&format=json
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Seems there is a major bug with api request to Yourls’ is closed to new replies.