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

Fix client parse errors with '=' in remark strings #632

Merged
merged 1 commit into from Oct 3, 2023

Conversation

MDX-Tom
Copy link
Contributor

@MDX-Tom MDX-Tom commented Aug 9, 2023

Replace every '=' with '-' in the remark string to avoid parse errors from the clients.
当节点名称中含有'='时,输出的conf文件可能无法被代理软件(如surge)正确解析,因此需要替换节点名称中的'='为'-'.

Replace every '=' with '-' in the remark string to avoid parse errors from the clients.
@MDX-Tom
Copy link
Contributor Author

MDX-Tom commented Aug 11, 2023

Tested by myself, build with Github Actions, run with macOS 14.0.

BEFORE: (surge parse error due to illegal '=' in remark strings.)
截屏2023-08-11 10 16 19

AFTER (fixed by this pr):
截屏2023-08-11 10 13 47

@tindy2013 tindy2013 merged commit 09bb290 into tindy2013:master Oct 3, 2023
nftbty pushed a commit to nftbty/subconverter that referenced this pull request Oct 10, 2023
Replace every '=' with '-' in the remark string to avoid parse errors from the clients.
kadaliao pushed a commit to kadaliao/subconverter that referenced this pull request Oct 16, 2023
Replace every '=' with '-' in the remark string to avoid parse errors from the clients.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants