Skip to content

Commit

Permalink
Use https for www.openarchives.org (not for XML namespace)
Browse files Browse the repository at this point in the history
Don't use https for XML namespace.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed Feb 1, 2025
1 parent 5753a64 commit e5bd504
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Classes/Controller/OaiPmhController.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ protected function getUrlParams()

/**
* Get unqualified Dublin Core data.
* @see http://www.openarchives.org/OAI/openarchivesprotocol.html#dublincore
* @see https://www.openarchives.org/OAI/openarchivesprotocol.html#dublincore
*
* @access private
*
Expand Down Expand Up @@ -845,7 +845,7 @@ protected function generateOutputForDocumentList(array $documentListSet)
protected function generateResumptionTokenForDocumentListSet(array $documentListSet, int $numShownDocuments)
{
// The cursor specifies how many elements have already been returned in previous requests
// See http://www.openarchives.org/OAI/openarchivesprotocol.html#FlowControl
// See https://www.openarchives.org/OAI/openarchivesprotocol.html#FlowControl
$currentCursor = $documentListSet['metadata']['cursor'];

if (count($documentListSet['elements']) !== 0) {
Expand Down
2 changes: 1 addition & 1 deletion Resources/Public/Stylesheets/OaiPmh.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ p.intro {
<xsl:apply-templates select="/oai:OAI-PMH" />
<xsl:call-template name="quicklinks"/>
<h2><a name="moreinfo">About the XSLT</a></h2>
<p>An XSLT file has converted the <a href="http://www.openarchives.org">OAI-PMH 2.0</a> responses into XHTML in order to make it human-readable in a browser which supports XSLT such as Mozilla Firefox and Microsoft Internet Explorer.<br />
<p>An XSLT file has converted the <a href="https://www.openarchives.org">OAI-PMH 2.0</a> responses into XHTML in order to make it human-readable in a browser which supports XSLT such as Mozilla Firefox and Microsoft Internet Explorer.<br />
The original XSLT file was created by <a href="http://www.ecs.soton.ac.uk/people/cjg">Christopher Gutteridge</a> at the University of Southampton as part of the <a href="http://software.eprints.org">GNU EPrints system</a>, and is freely redistributable under the <a href="http://www.gnu.org">GPL</a>.<br />
It was adapted to <a href="https://kitodo.org/">Kitodo.Presentation</a> by <a href="mailto:sebastian.meyer@slub-dresden.de">Sebastian Meyer</a> at the Saxon State and University Library Dresden.</p>
</body>
Expand Down
4 changes: 2 additions & 2 deletions Tests/Functional/Api/OaiPmhTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ public function correctlyRespondsOnBadVerb()
self::assertStringNotContainsString('nastyVerb', (string) $xml->request);

// For bad verbs, the <request> element must not contain any attributes
// - http://www.openarchives.org/OAI/openarchivesprotocol.html#XMLResponse
// - http://www.openarchives.org/OAI/openarchivesprotocol.html#ErrorConditions
// - https://www.openarchives.org/OAI/openarchivesprotocol.html#XMLResponse
// - https://www.openarchives.org/OAI/openarchivesprotocol.html#ErrorConditions
self::assertEmpty($xml->request->attributes());
}

Expand Down

0 comments on commit e5bd504

Please sign in to comment.