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

Exported pac file has a bomb character (<feff>) at the beginning of the first line. #1521

Closed
ywysuibian opened this issue Jun 15, 2018 · 2 comments
Assignees

Comments

@ywysuibian
Copy link

Browser: Chrome
OS: MacOS

I exported the pac file and using it as system proxy, but the pac file cannot work.
I have checked the exported file, found there is a bomb character () at the beginning of the first line.
After removing the bomb character, the pac file works fine.

@FelisCatus
Copy link
Owner

Confirmed! Thanks for the report.

The BOM comes from the library FileSaver. I'll add a flag to disable automatic BOM pre-pending. It should be safe since SwitchyOmega will try to convert everything to ascii before exporting PAC files.

@FelisCatus FelisCatus self-assigned this Jun 26, 2018
@FelisCatus
Copy link
Owner

Fixed in v2.5.15.

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

No branches or pull requests

2 participants