On Mon, Dec 28, 2020 at 10:59:33AM +0100, Solderpunk wrote: > Should redirect URLs be allowed to contain queries? > > If an original URL has a query in it but the client gets back a > redirect URL without a query, should the original query be appended? Only the server has the necessary information to determine whether the redirect URL should have the query from the original URL, if any, or not. It could be that the query string determined the redirect, in which case the redirect would probably not have the (same) query. If, however, the redirect is the same regardless of the query, then perhaps the server needs to append the query to the redirect. It should be up to the server. The client should use what the server gives it verbatim (fragments are a separate issue which may change this). ~aravk | ~nothien -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20201228/a199 cc05/attachment.sig>
---
Previous in thread (22 of 27): 🗣️ Petite Abeille (petite.abeille (a) gmail.com)
Next in thread (24 of 27): 🗣️ Côme Chilliet (come (a) chilliet.eu)