Skip to content
代码片段 群组 项目
提交 72ac5e90 编辑于 作者: Vasilii Iakliushin's avatar Vasilii Iakliushin
浏览文件

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
上级 9e31c01e
No related branches found
No related tags found
加载中
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册