Skip to content

Internet Shortcut .url 文件跳转到网页没有获得正确的URL #7772

Closed
AlistGo/alist-web
#248
@CongAn

Description

@CongAn

Please make sure of the following things

  • I have read the documentation.
    我已经阅读了文档

  • I'm sure there are no duplicate issues or discussions.
    我确定没有重复的issue或讨论。

  • I'm sure it's due to AList and not something else(such as Network ,Dependencies or Operational).
    我确定是AList的问题,而不是其他原因(例如网络依赖操作)。

  • I'm sure this issue is not fixed in the latest version.
    我确定这个问题在最新版本中没有被修复。

AList Version / AList 版本

v3.41.0

Driver used / 使用的存储驱动

中国移动云盘

Describe the bug / 问题描述

查看了 #4414 提供支持的代码太过于粗暴,没有正确的 Internet Shortcut 解析格式读取 URL。
翻阅相关资料,发现支持没有问题,故提出issue,我会尝试修复。

AlistGo/alist-web@01afbcf#diff-82399b4110d8ab36e5a5399d6942932cf6ecb0446997c36d0c55b3c396b05e9fR11

const url = content()?.content
url && window.open(url, "_blank")

Creating internet shortcuts - NSIS

javascript - .url 文件使用什么标记语言?- 堆栈溢出

npm/ini: An ini parser/serializer in JavaScript

Internet Shortcuts - Win32 apps | Microsoft Learn

[internet shortcut - npm search](https://www.npmjs.com/search?q=internet shortcut)

#4004
#4414

image
image

Reproduction / 复现链接

Config / 配置

Logs / 日志

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions