Commit Graph

3 Commits

Author SHA1 Message Date
Bryan Richter
c568b5f173
Clean up OpenSearchDescriptions
The Attribution tag "contains a list of all sources or entities that
should be credited for the content contained in the search feed." Since
the search feed has package descriptions, I think it's murky who should
actually be attributed. Removing it since I don't know who should be
there.

https://github.com/dewitt/opensearch/blob/master/opensearch-1-1-draft-6.md#the-attribution-element
2024-03-28 15:00:20 +02:00
ncaq
05337cd782 fix(opensearch): search url protocol: http -> https
Changed the protocol of the URL used as a custom search engine from `http` to `https`.

The reason for this change is that `www.stackage.org` only uses `https`,
so every time the custom search engine is used,
a redirect from `http` to `https` occurs,
sacrificing the cleanliness of the history.

On `www.stackage.org`,
the HTTP header is set to
`strict-transport-security max-age=15724800; includeSubDomains` for HSTS,
so there's no need to try connecting via http.

This is a bit unclear to me as well,
but even though HSTS is set and a redirect is set for subsequent access,
it seems that no communication is being made,
but it is left in the history.

In any case,
I think it's wasteful to constantly access http when it's specialized for https to the point of setting HSTS,
so I'm making this commit.
2023-08-04 12:21:23 +09:00
Tristan Webb
8198c06b01 Open search description files 2015-04-27 18:11:38 -07:00