News for hackers. Stuff that matters.
Re:Surprising things about HTTP by k__ on Thursday June 09, 2022 @08:13AM (#31680209)
Also interesting: You're allowed to use the same query parameter multiple times in one URL and the server is expected to merge it into an array. But I don't really know which implementations do this.
Re:Surprising things about HTTP by david422 on Thursday June 09, 2022 @08:27AM (#31680318)
Yes, learned this when writing server side code it's very easy to extract query params dictionary style and then learn that to be pedantically correct, they should be handled list style.
Re:Surprising things about HTTP by secondcoming on Thursday June 09, 2022 @09:45AM (#31681061)
IIRC this isn’t actually allowed, but it isn’t disallowed either