Skip to content
代码片段 群组 项目
未验证 提交 4eaa944c 编辑于 作者: Stan Hu's avatar Stan Hu
浏览文件

Fix Google CDN not encoding UTF-8 characters

Previously if a job artifact were prefaced with ":copyright:", those bytes were
stripped when rendering a Google CDN URL because the URL did not
properly encode the characters. This commit now uses
`Addressable::URI.encode_component` to do the
job. `CarrierWave::Utilities::Uri#encode_path` does the same thing.

Relates to https://gitlab.com/gitlab-org/gitlab/-/issues/396945

Changelog: fixed
上级 349917d1
No related branches found
No related tags found
无相关合并请求
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册