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

Consider allowing non-https links to resolve for dtd files #1

Open
niloc132 opened this issue Apr 6, 2022 · 0 comments
Open

Consider allowing non-https links to resolve for dtd files #1

niloc132 opened this issue Apr 6, 2022 · 0 comments
Assignees

Comments

@niloc132
Copy link
Member

niloc132 commented Apr 6, 2022

Eclipse apparently won't follow redirects?
image

The http Location header is indeed set:

$ curl -v http://www.gwtproject.org/doctype/2.4.0/gwt-module.dtd
*   Trying 167.114.3.5:80...
* Connected to www.gwtproject.org (167.114.3.5) port 80 (#0)
> GET /doctype/2.4.0/gwt-module.dtd HTTP/1.1
> Host: www.gwtproject.org
> User-Agent: curl/7.82.0
> Accept: */*
> 
* Mark bundle as not supporting multiuse
< HTTP/1.1 301 Moved Permanently
< Server: nginx/1.17.5
< Date: Wed, 06 Apr 2022 16:23:37 GMT
< Content-Type: text/html
< Content-Length: 169
< Connection: keep-alive
< Location: https://www.gwtproject.org/doctype/2.4.0/gwt-module.dtd
< 
<html>
<head><title>301 Moved Permanently</title></head>
<body>
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx/1.17.5</center>
</body>
</html>

Ideally we could exclude those doctype links from requiring https, or push users to update their projects to use https for these links.

@niloc132 niloc132 self-assigned this Apr 21, 2022
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

1 participant