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 gopher support #152

Merged
merged 3 commits into from
Oct 24, 2020
Merged

Fix gopher support #152

merged 3 commits into from
Oct 24, 2020

Conversation

bptato
Copy link
Contributor

@bptato bptato commented Oct 21, 2020

Without this patch, gopher was completely broken. While this isn't a perfect fix, it works far better on sites I've tested (far better=actually loads most of them).
A slight change is that I moved the filetype indicator character to the end of URLs for convenience; as far as I can tell, this shouldn't cause problems, but it might be better to move it back later (EDIT: looks like it did cause problems after all, so I moved it back in the third commit). Other than that, I only added the 'i' non-link line type.

@bptato
Copy link
Contributor Author

bptato commented Oct 21, 2020

BTW, now that it kind of works, wouldn't it make sense to enable gopher support by default?

@tats tats merged commit 35bc5aa into tats:master Oct 24, 2020
@tats
Copy link
Owner

tats commented Oct 24, 2020

Merged, thanks for your contribution.

Also, I'll enable Gopher support by default soon.
In Debian, USE_GOPHER has already been enabled since 2000.

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