plugin-editor-hyperlink-card icon indicating copy to clipboard operation
plugin-editor-hyperlink-card copied to clipboard

部分链接无法正确获取到标题

Open Anyexyz opened this issue 1 year ago • 3 comments

测试链接:https://work.weixin.qq.com/mail/ 显示状态:Image

Anyexyz avatar Nov 14 '24 04:11 Anyexyz

鎴戝彂鐜拌缃戠珯鐨勮繑鍥炵殑 Charset 鏄?GB18030锛岃鐪嬩笅闈㈢殑璇锋眰绀轰緥锛?/p>

鉂?https https://work.weixin.qq.com/mail/ -p h
HTTP/1.1 200 OK
Cache-control: max-age=0
Connection: keep-alive
Content-Encoding: gzip
Content-Security-Policy: script-src 'self' https://tongji.baidu.com https://hm.baidu.com http://hm.baidu.com *.google-analytics.com http://mat1.gtimg.com https://mat1.gtimg.com http://*.soso.com https://*.soso.com http://*.qq.com https://*.qq.com http://*.qqmail.com  https://*.qqmail.com http://*.qmail.com https://*.qmail.com https://midas.gtimg.cn http://midas.gtimg.cn http://pub.idqqimg.com https://captcha.gtimg.com blob: 'unsafe-inline' 'unsafe-eval'; report-uri https://mail.qq.com/cgi-bin/report_cgi?r_subtype=csp&nocheck=false
Content-Type: text/html; charset=GB18030
Date: Mon, 18 Nov 2024 07:24:17 GMT
Referrer-Policy: origin
Server: Wwebsvr
Set-Cookie: sms_id=ArfWBAWVhnWdGrt+Cw+UXlp/UdIFS6irWi8Fkru2gvso6kv7Wllpf8KwDRhvUQVViXGeq+1wnQY1AbwfWgR3ww==; Domain=.exmail.qq.com; Path=/; HttpOnly
Set-Cookie: activity=EXPIRED; Domain=.exmail.qq.com; Path=/; Expires=Sun, 17-Nov-2024 07:24:17 GMT
Set-Cookie: ssl_edition=mail.qq.com; Domain=.exmail.qq.com; Path=/; HttpOnly
Set-Cookie: sms_id=1wwuXzLI61E19rCYEpAommK4pXSOHlEcgTyUykR+JELxTyAo2k4GVuUDqp6Z/cuvsA+8oWJ2b0Y2t6raZYkjgg==; Domain=.exmail.qq.com; Path=/; HttpOnly
Transfer-Encoding: chunked
Vary: Accept-Encoding
X-Frame-Options: SAMEORIGIN
X-W-No: 2

瑙f瀽鐨勬椂鍊欏嵈閲囩敤鐨?UTF-8 瀛楃闆嗐??/p>

https://github.com/halo-sigs/plugin-editor-hyperlink-card/blob/c59bb0c89449de02959b3f65656a62f23f6b3049/src/main/java/run/halo/editor/hyperlink/handler/HyperLinkDefaultParser.java#L99

寤鸿瑙f瀽 Content-Type锛岃幏鍙栧埌 charset 骞朵娇鐢ㄥ搴旂殑 charset 杩涜澶勭悊銆?/p>

/kind bug

JohnNiang avatar Nov 18 '24 07:11 JohnNiang

/good-first-issue

JohnNiang avatar Nov 18 '24 07:11 JohnNiang

@JohnNiang: This request has been marked as suitable for new contributors.

Please ensure the request meets the requirements listed here.

If this request no longer meets these requirements, the label can be removed by commenting with the /remove-good-first-issue command.

In response to this:

/good-first-issue

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

f2c-ci-robot[bot] avatar Nov 18 '24 07:11 f2c-ci-robot[bot]