Search Issue Tracker
By Design
Votes
0
Found in
2022.3.30f1
6000.0.2f1
Issue ID
UUM-72470
Regression
Yes
[iOS 17] "Malformed URL" error is thrown when using UnityWebRequest with a URI containing "[]"
How to reproduce:
1. Open the attached Project "TestURL.zip"
2. Build and Run the Scene "SampleScene" on an iOS 17 device
3. Observe the Xcode Console
Expected result: "Form upload complete!" is printed
Actual result: "Malformed URL" is printed
Reproducible with: 2022.3.26f1, 2022.3.30f1, 6000.0.2f1
Not reproducible with: 2021.3.38f1, 2022.3.25f1
Reproduced on:
- iPad 6th Gen (iOS 17.2)
Did not reproduce on:
- iPhone 13 Pro (iOS 16.6.1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Resolution Note:
The recommendation is to always use properly escaped URLs, especially if they are hardcoded. The characters [ and ] need to be escaped as %5b and %5d
When URL that hasn't been properly escaped is used, the automatic escaping system is used that in some cases is not capable of escaping as URI syntax is ambiguous and by having only URI it's not even possible to know what the result should be. We don't want to introduce regressions by adding more escaping cases, hence we don't intend to fix this for Unity 6 and older.