As far as I can see in the documentation:
(Customize Email Templates)
If the verification link expires, the redirect URL is:
(http://myapplication.com/my_page/?email=john%contoso.com&message=Access%20expired&success=false),
But in fact the real redirect URL is different:
(http://myapplication.com/my_page/?email=john%contoso.com&message=Access%20expired.&success=false)
- dot after expired makes difference.