Skip to content

Commit

Permalink
Drop protocol in links to other resources.
Browse files Browse the repository at this point in the history
By adding an explicit http:, we force users that log in (via SSL)
to login again (or manually modify the URL to add back the https:)
when they move to a different web service.
  • Loading branch information
benmwebb committed Sep 3, 2015
1 parent dcb68b4 commit 9202c85
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions perl/saliweb/frontend.pm
Original file line number Diff line number Diff line change
Expand Up @@ -788,15 +788,15 @@ sub get_lab_navigation_links {
my $self = shift;
my $q = $self->cgi;
return [
$q->a({-href=>'http://salilab.org/'}, "Sali Lab Home"),
$q->a({-href=>'http://salilab.org/modweb/'}, "ModWeb"),
$q->a({-href=>'http://salilab.org/modbase/'}, "ModBase"),
$q->a({-href=>'http://salilab.org/modeval/'}, "ModEval"),
$q->a({-href=>'http://salilab.org/pcss/'}, "PCSS"),
$q->a({-href=>'http://salilab.org/foxs/'}, "FoXS"),
$q->a({-href=>'http://salilab.org/imp/'}, "IMP"),
$q->a({-href=>'http://salilab.org/multifit/'}, "MultiFit"),
$q->a({-href=>'http://salilab.org/modpipe/'}, "ModPipe")
$q->a({-href=>'//salilab.org/'}, "Sali Lab Home"),
$q->a({-href=>'//salilab.org/modweb/'}, "ModWeb"),
$q->a({-href=>'//salilab.org/modbase/'}, "ModBase"),
$q->a({-href=>'//salilab.org/modeval/'}, "ModEval"),
$q->a({-href=>'//salilab.org/pcss/'}, "PCSS"),
$q->a({-href=>'//salilab.org/foxs/'}, "FoXS"),
$q->a({-href=>'//salilab.org/imp/'}, "IMP"),
$q->a({-href=>'//salilab.org/multifit/'}, "MultiFit"),
$q->a({-href=>'//salilab.org/modpipe/'}, "ModPipe")
];
}

Expand Down

0 comments on commit 9202c85

Please sign in to comment.