Open
Conversation
Member
|
不需要针对GreasyFork、SleazyFork特殊处理呀,如果其他平台,也搞个有问题的url不可能也去特殊处理啊,这个bug产生的原因是 searchParams 取的url参数有问题,换成location保持原本的值去fetch脚本数据就可以了,prettyUrl #1236 的看起来没啥问题 scriptcat/src/pages/install/App.tsx Line 658 in 3645f64 |
Collaborator
Author
之前的 toEncodedURL是把原始网址正确编码 prettyUrl 更不是我写的。我没有责任让它完善 |
Member
|
怎么感觉搞反了呢,我是觉得不需要特殊处理,prettyUrl可以(另外这个是你写的#993,当然这个无所谓啦) |
Collaborator
Author
呀。我失忆了。对不起
对于问题,我提出了例子,提出了解决用的代码,提出了见解 你是作者,接不接受在于你 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
应作者 @CodFrm 要求不写通用代码
只做单一修正
prettyUrl 不改
不加入 toEncodedUrl
只做紧急处理