Handle Browser::Error exception
Contributes to https://gitlab.com/gitlab-org/gitlab/-/issues/471621 **Problem** When user provides a very long user-agent string, the `browser` gem raises `Browser::Error` exception. This leads to 500 server error. **Solution** Return a 403 Forbidden error instead. Changelog: fixed
加载中
想要评论请 注册 或 登录