03-10-2022, 11:58 PM
The point here is that they need to be stored in their original form, the same way that they have been received. There are special cases where the start parameters need to be included in the URL again (e.g. redirections).
Due to the mess that URL encoding is in the real world where the standards are not exactly followed (e.g. should + be encoded or not?), the safest way to create such redirections which need the same start params is to keep them as they were received, without any decoding/encoding in the middle.
Maybe we should introduce a new method to retrieve the start parameters in a decoded form, so it would be 100% compatible with existing code (although the method name would eventually change, but the functionality would be identical)
Due to the mess that URL encoding is in the real world where the standards are not exactly followed (e.g. should + be encoded or not?), the safest way to create such redirections which need the same start params is to keep them as they were received, without any decoding/encoding in the middle.
Maybe we should introduce a new method to retrieve the start parameters in a decoded form, so it would be 100% compatible with existing code (although the method name would eventually change, but the functionality would be identical)

