From 3eaf8c15ac6833ad30c32c16dfa73af58c80343b Mon Sep 17 00:00:00 2001 From: Alex Legler Date: Sat, 14 Mar 2015 17:06:10 +0100 Subject: Fix GLSA paths --- app/models/glsa.rb | 2 +- app/views/glsa/show.txt.erb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/models/glsa.rb b/app/models/glsa.rb index 1c8387c..6905944 100644 --- a/app/models/glsa.rb +++ b/app/models/glsa.rb @@ -224,7 +224,7 @@ class Glsa < ActiveRecord::Base # Returns a publically accessible URL for the advisory if it's a released GLSA def to_url - "http://security.gentoo.org/glsa/glsa-#{self.glsa_id}.xml" + "https://security.gentoo.org/glsa/#{self.glsa_id}" end # Calculates the next GLSA ID for the given month, or the current month diff --git a/app/views/glsa/show.txt.erb b/app/views/glsa/show.txt.erb index 65c555e..afc7a89 100644 --- a/app/views/glsa/show.txt.erb +++ b/app/views/glsa/show.txt.erb @@ -5,7 +5,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gentoo Linux Security Advisory GLSA <%= @glsa.glsa_id %> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - http://security.gentoo.org/ + https://security.gentoo.org/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <%= prefixed_item(" Severity:", @rev.severity.capitalize.html_safe) %> @@ -93,7 +93,7 @@ Availability This GLSA and any updates to it are available for viewing at the Gentoo Security Website: - http://security.gentoo.org/glsa/glsa-<%= @glsa.glsa_id %>.xml + https://security.gentoo.org/glsa/<%= @glsa.glsa_id %> Concerns? ========= -- cgit v1.2.3