Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions api/src/org/labkey/api/admin/AdminUrls.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ public interface AdminUrls extends UrlProvider
ActionURL getSystemMaintenanceURL();
ActionURL getCspReportToURL();

ActionURL getAllowedExternalRedirectHostsURL();

/**
* Simply adds an "Admin Console" link to nav trail if invoked in the root container. Otherwise, root is unchanged.
*/
Expand Down
7 changes: 7 additions & 0 deletions core/src/org/labkey/core/admin/AdminController.java
Original file line number Diff line number Diff line change
Expand Up @@ -891,6 +891,13 @@ public ActionURL getCspReportToURL()
return new ActionURL(ContentSecurityPolicyReportToAction.class, ContainerManager.getRoot());
}

@Override
public ActionURL getAllowedExternalRedirectHostsURL()
{
return new ActionURL(AllowListAction.class, ContainerManager.getRoot())
.addParameter("type", AllowListType.Redirect.name());
}

public static ActionURL getDeprecatedFeaturesURL()
{
return new ActionURL(OptionalFeaturesAction.class, ContainerManager.getRoot()).addParameter("type", FeatureType.Deprecated.name());
Expand Down
Loading