aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2015-03-14 17:06:10 +0100
committerAlex Legler <alex@a3li.li>2015-03-14 17:06:10 +0100
commit3eaf8c15ac6833ad30c32c16dfa73af58c80343b (patch)
tree824949fa74d105dfa0b7439f8e6095590fb4496f /app
parentCopyright update (diff)
downloadglsamaker-3eaf8c15ac6833ad30c32c16dfa73af58c80343b.tar.gz
glsamaker-3eaf8c15ac6833ad30c32c16dfa73af58c80343b.tar.bz2
glsamaker-3eaf8c15ac6833ad30c32c16dfa73af58c80343b.zip
Fix GLSA paths
Diffstat (limited to 'app')
-rw-r--r--app/models/glsa.rb2
-rw-r--r--app/views/glsa/show.txt.erb4
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?
=========