We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
a
href
://
原生微信小程序 基础库 2.19.2
HTML 中含有类似 /pages/webview/index?url=https://www.baidu.com 这样的链接时,会被判断为外部链接进行复制,而不是跳转到 /pages/webview/index 页面。
/pages/webview/index?url=https://www.baidu.com
/pages/webview/index
#343 也有提到这个问题,可以通过 linktap,修改 webview 页面传参方式(escape)来绕过,但是解析时可以区分 URL 本身是外部链接还是 query 中含有外部链接。
linktap
<a href="/pages/webview/index?url=https://www.baidu.com/">Baidu</a>
The text was updated successfully, but these errors were encountered:
一般来说webview里的https链接最好还是escape下
Sorry, something went wrong.
修复了内部链接参数中包含 :// 时被认为是外部链接的问题 #356
4bc7715
No branches or pull requests
使用环境
原生微信小程序 基础库 2.19.2
问题描述
HTML 中含有类似
/pages/webview/index?url=https://www.baidu.com
这样的链接时,会被判断为外部链接进行复制,而不是跳转到/pages/webview/index
页面。#343 也有提到这个问题,可以通过
linktap
,修改 webview 页面传参方式(escape)来绕过,但是解析时可以区分 URL 本身是外部链接还是 query 中含有外部链接。复现方式
The text was updated successfully, but these errors were encountered: