Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
inc-md-js/entity.html
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
47 lines (41 sloc)
1.44 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>InCommon Federation Entity</title> | |
<script type="text/javascript" src="./js/library/http-utils.js"></script> | |
<script type="text/javascript"> | |
(function (linkObj) { | |
// a redirect page | |
var redirectPage = "./info/about.html"; | |
// handle a missing query string | |
if (linkObj.search == null || linkObj.search == "") { | |
// redirect the browser | |
window.location = redirectPage; | |
return; | |
} | |
// process the old 'entityid' query string parameter | |
var entityID = utils.getParameterByName(linkObj, 'entityid'); | |
// handle a missing query string parameter | |
if (entityID == null || entityID == "") { | |
// redirect the browser | |
window.location = redirectPage; | |
return; | |
} | |
// initialize a completely new query string | |
var search = utils.initQueryString('entityID', entityID); | |
// process the 'technical' query string parameter (if any) | |
var paramValue = utils.getParameterByName(linkObj, 'technical'); | |
if (paramValue != null && paramValue != "") { | |
search = utils.appendParameter(search, 'technical', paramValue); | |
} | |
var url = "./info/entity.html" + search; | |
// redirect to the new URL | |
window.location.replace( url ); | |
}(window.location)); | |
</script> | |
</head> | |
<body> | |
<p>The page you requested no longer exists. Visit the new <a href="./info/about.html">Federation Info Pages</a>.</p> | |
</body> | |
</html> |