Can't close alert by alias when slash is used in alias



If we create an alert that has a slash in it, for example 'somepath=/' then the alert can no longer be closed by alias.
When accessing this URL:
we get "Request will be processed" but if we check the request we see that:
“status”: “There is no open alert with alias [somepath=].”,
“success”: false
What am I missing here, isn’t URL encoding supposed to work like that?