Skip to content

buildClearURL 丢弃 URL hash #11

@Svtter

Description

@Svtter

问题

internal/server/server.gobuildClearURL 在清除参数后返回 //?...,未保留原始 URL 的 #fragment 部分。

影响

影响极小,hash fragment 不会到达服务端。但如果未来有前端依赖 hash 路由,可能需要注意。

Metadata

Metadata

Assignees

No one assigned

    Labels

    cleanupCode cleanup tasks

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions