Jump to content

Module:Authority control: Difference between revisions

Use HTTPS when generating an ISNI link in order to provide increased privacy and security for users and to reduce the number of redirects. From what it would appear, the existing HTTP URL would generate an HTTP 301 redirect to an HTTPS URL, followed by various additional redirects.
m (1 revision imported)
(Use HTTPS when generating an ISNI link in order to provide increased privacy and security for users and to reduce the number of redirects. From what it would appear, the existing HTTP URL would generate an HTTP 301 redirect to an HTTPS URL, followed by various additional redirects.)
Line 254: Line 254:
return false
return false
end
end
return '[http://isni.org/isni/'..id..' '..id:sub( 1, 4 )..' '..id:sub( 5, 8 )..' '..id:sub( 9, 12 )..' '..id:sub( 13, 16 )..']'..p.getCatForId( 'ISNI' ) --no https as of 9/2019
return '[https://isni.org/isni/'..id..' '..id:sub( 1, 4 )..' '..id:sub( 5, 8 )..' '..id:sub( 9, 12 )..' '..id:sub( 13, 16 )..']'..p.getCatForId( 'ISNI' ) --no https as of 9/2019
end
end


Anonymous user