What Changed
For security reasons, an exception is thrown in the following instances:
- When you pass a relative URL as an AccessSettings.CheckUriAccess method parameter.
- When you create a UrlAccessRule for a relative URL.
Reasons for Change
This change will prevent path traversal bypass (defined in access settings).
Impact on Existing Apps
If you use relative paths, the following exceptions will be thrown:
NotSupportedException
: when you check a relative path for availability.InvalidOperationException
: when you create aUrlAccessRule
for a relative URL.
How to Update Existing Apps
Replace all relative paths with absolute paths in your code.
How to Revert to Previous Behavior
Previous behavior is unavailable.