api icon indicating copy to clipboard operation
api copied to clipboard

URL encoded commas do not work for some comma separated parameters

Open dashstander opened this issue 6 years ago • 1 comments

In particular these two requests work:

https://api.pushshift.io/reddit/search/submission/?ids=bfghow,bfghno https://api.pushshift.io/reddit/search/submission/?ids=bfghow,bfghno&fields=title,id,score

but these two do not:

https://api.pushshift.io/reddit/search/submission/?ids=bfghow%2Cbfghno https://api.pushshift.io/reddit/search/submission/?ids=bfghow,bfghno&fields=title%2Cid%2Cscore

Against the comments endpoint, the URL encoded commas work for the ids parameter:

https://api.pushshift.io/reddit/search/comment/?ids=eldib61%2celdr6en&fields=body,id,score

but not with the fields parameter:

https://api.pushshift.io/reddit/search/comment/?ids=eldib61%2celdr6en&fields=body%2Cid%2Cscore

dashstander avatar May 29 '19 17:05 dashstander

any updates?

645383 avatar Dec 06 '22 15:12 645383