Skip to content
New issue

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

本地http资源添加query参数$alias别名无法访问到文件 #193

Open
4 tasks done
hhhhhge opened this issue Mar 18, 2024 · 5 comments
Open
4 tasks done

本地http资源添加query参数$alias别名无法访问到文件 #193

hhhhhge opened this issue Mar 18, 2024 · 5 comments
Labels
enhancement New feature or request low priority

Comments

@hhhhhge
Copy link

hhhhhge commented Mar 18, 2024

⚠️不按照以下格式创建的issue将不会获得回复⚠️

提bug前先检查以下是否已经执行

  • 我已更新了最新版本的代码
  • 我已经仔细地阅读了readme 文档
  • 我已在FAQ里查找了可能寻找的答案
  • 我已经尝试搜索过历史关闭issue寻找可能的答案

bug描述

我在本地搭建一个图片服务器上传图片,修改为新版本添加参数后我的服务器不能用了

所以请按以下格式描述问题:

  • 场景
  • 操作
  • 表现

提供有用的信息

  • 目前使用的版本号:(很可能最新版本已经修复了)
    image
    image
@hhhhhge
Copy link
Author

hhhhhge commented Mar 18, 2024

他怎么就还把他传递出去了

@hhhhhge
Copy link
Author

hhhhhge commented Mar 18, 2024

他怎么就还把他传递出去了

其他的网站也这样

@danni-cool
Copy link
Owner

本地服务器文件无法获取和你的本地服务器处理 query 参数的策略有关,请确保 http://127.0.0.1:5000/read_file?$alias=upload.png 可以在你本地浏览器里可以访问到该资源,否则请修改你python http 服务器对该资源的处理规则

@hhhhhge
Copy link
Author

hhhhhge commented Mar 19, 2024

行吧,为什么不是把这个参数去掉并请求

@danni-cool
Copy link
Owner

未来可能考虑优化,目前能用就行

@danni-cool danni-cool changed the title 新版更新后文件不能发送 本地http添加query参数$alias别名无法访问到文件 Mar 19, 2024
@danni-cool danni-cool added the enhancement New feature or request label Mar 19, 2024
@danni-cool danni-cool changed the title 本地http添加query参数$alias别名无法访问到文件 本地http资源添加query参数$alias别名无法访问到文件 Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low priority
Projects
None yet
Development

No branches or pull requests

2 participants