如何写“?”在通用 link 的道路上?
How to write a '?' in the path of a universal link?
如何将问号 ?
指定为 apple-app-site-association
文件中 paths
模式的一部分?
路径应与 URL 匹配:
domain.com/?a
domain.com/?ab
domain.com/?abc
...
以下无效:
{
"applinks": {
"apps": [],
"details": [
{
"appID": "<myAppId>",
"paths": ["/\?*"]
}
]
}
}
不支持。 From Apple:
Note that only the path component of the URL is used for comparison. Other components, such as the query string or fragment identifier, are ignored.
如果您有权访问服务器的配置,您可能想尝试通过别名、重写规则或类似机制将这些重写为路径可寻址资源,而不是查询可寻址资源。
如何将问号 ?
指定为 apple-app-site-association
文件中 paths
模式的一部分?
路径应与 URL 匹配:
domain.com/?a
domain.com/?ab
domain.com/?abc
...
以下无效:
{
"applinks": {
"apps": [],
"details": [
{
"appID": "<myAppId>",
"paths": ["/\?*"]
}
]
}
}
不支持。 From Apple:
Note that only the path component of the URL is used for comparison. Other components, such as the query string or fragment identifier, are ignored.
如果您有权访问服务器的配置,您可能想尝试通过别名、重写规则或类似机制将这些重写为路径可寻址资源,而不是查询可寻址资源。