-
Notifications
You must be signed in to change notification settings - Fork 63
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
Absolute links for CSS and Java #132
Comments
As you say, this project isn't strongly maintained at this point. That said, I think this might be a quick fix. The CSS and JS asset links are defined here: taskwarrior-web/lib/taskwarrior-web/views/layout.erb Lines 8 to 13 in bf7f91e
I'm honestly not sure how the Give that branch a try and let us know how it goes. |
Thank you for the tip. I ended up with something simpler (I don't know if it will work properly for everybody, but it works for me). I took out the
(It's happening somewhere else too, but I can't figure out exactly where yet.) |
Check the commit I linked above -- the diff includes the other locations of the absolute |
Something in the 302 redirection is doing the same thing.
I think I found the redirect calls in |
Losing HTTPS on 302 with SSL proxies is a known issue that a few folks have gotten around. Check out: #20, #56, and this wiki page. |
Greetings. It doesn't look like any work is happening here anymore, but I thought I would ask anyway.
Most of the links generated by taskwarrior-web are relative links... but some of them -specifically, the CSS and the JavaScript links -- are absolute.
This creates a problem for me. I have an oddball setup, where I have an SSL frontend on my firewall/bastion host, but the internal servers are all running HTTP.
So what this means is that, when I take my browser to https://host.domain.name:5678/ , my firewall goes internally to my http site, and all of the CSS and JS links are returned to my browser as http://host.domain.name:5678/css/ ... and those don't work.
All of the other links are (or, at least, appear to be) relative links, and my browser interprets them correctly.
I tried to find where this was happening, but I don't speak Ruby and I couldn't find it.
Anyway, I'd really like these CSS and JS links to be relative instead of absolute.
The text was updated successfully, but these errors were encountered: