Skip to content

关于复制的图片连接编码问题 #731

Closed
@g8up

Description

我在开发自定义插件时发现,相册中,复制的图片连接和编辑弹框中的连接不一致了。
排查发现,复制的链接被 encodeURI():

const url = handleUrlEncode(item.url || item.imgUrl)

能否不修改这个链接?
我的情况:
预期的 "&Signature=zHx21zThzHKdNXJzFfpXFv0%2Befg%3D"
被转义成:'&Signature=zHx21zThzHKdNXJzFfpXFv0%252Befg%253D'
导致复制的图片链接失效

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions