You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation for urlrawencode indicates it should take a string and encode it as per RFC 3986 and all characters except -_.~ should be encoded with their % equivalent. Mentioned here statamic/docs#1603 originally.
I'd consider this a bug as it doesn't match how the function is supposed to work. Maybe a simple fix would be to change it to simply be a wrapper for rawurlencode without any additional processing of the input string?
How to reproduce
url_encode_array:
test: 'http://test.com/it's coming home'test2: 'pronouns are he\him'test3: 'please and thank you/Mommy'
Bug description
The documentation for urlrawencode indicates it should take a string and encode it as per RFC 3986 and all characters except -_.~ should be encoded with their % equivalent. Mentioned here statamic/docs#1603 originally.
I'd consider this a bug as it doesn't match how the function is supposed to work. Maybe a simple fix would be to change it to simply be a wrapper for
rawurlencode
without any additional processing of the input string?How to reproduce
Expected output
Actual output:
Logs
Environment
Installation
Fresh statamic/statamic site via CLI
Additional details
No response
The text was updated successfully, but these errors were encountered: