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

Invalidly quoted urls in docset #174

Open
politza opened this issue Sep 25, 2018 · 4 comments
Open

Invalidly quoted urls in docset #174

politza opened this issue Sep 25, 2018 · 4 comments

Comments

@politza
Copy link

politza commented Sep 25, 2018

I downloaded the GLib docset and if I browse the help for e.g. the function g_hash_table_new, the browser is opened with a URL like

file:///long/boring/path/glib-Hash-Tables.html#//apple_ref/func/g%%5Fhash%%5Ftable%%5Fnew

Note the doubled percent characters. While eww does not seem to have problems with this, firefox just ignores the anchor and displays the page at the top, instead of scrolling to the desired function.

Is the docset broken ?

@kidd
Copy link
Member

kidd commented Sep 26, 2018

I couldn't reproduce it as works fine here both using eww and browse-url in linux.

It looks like some double escaping as %%5f is the underscore character... Which OS as you using?

@politza
Copy link
Author

politza commented Sep 26, 2018 via email

@kidd
Copy link
Member

kidd commented Sep 26, 2018

maybe xdg-open uses a shell inside, and '#' is interpreted as a comment.

...All those things are lots of fun....

@politza
Copy link
Author

politza commented Sep 26, 2018 via email

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