-
Notifications
You must be signed in to change notification settings - Fork 3
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
Malformed link header causes WAIT to display #308
Comments
This is happening because of an interesting .htaccess file in the /temp/ folder at matkelly.com:
This looks like it was borrowed from somewhere...probably from "how to enable Memento on your Apache server" docs from mementoweb. EDIT: This htaccess is recursively applied as well. See |
content.js sends a message in |
Much of this is fixed in 2969ad7 (issue-308 branch). On encountering a bad Link header value, after failing to query the TG, the Link header is removed and the same logic used to send the request for the URI-R to the aggregator. This is not yet complete. In iterating through the headers, using JavaScript's |
Perhaps the remaining null is due to a pre-existing value not being cleared and some sort of "placeholder" remaining. When logging where setting the value, the attribute is not present. When reading the value, the null displays when iterating through each attribute after reading from localStorage. |
See #307 and http://matkelly.com/temp/aac.txt
Some server config is causing the response header
Link: <http://purl.org/memento/timegate/(null)://(null)(null)>;rel=timegate
. Mink chokes on this when the URI cannot be retrieved citing 502 Bad Gateway. It ought to be more resilient and fail a little more gracefully or, like other instances, disregard the header if wonky or invalid.The text was updated successfully, but these errors were encountered: