iOS 17 does not encode query parameters automatically as claimed in the answers of this post. iOS17 only encodes "Invalid characters" which are not supported by HTTPS standard protocol. So if you have space or any invalid character like [ ] then only it will encode.