]> git.llucax.com Git - personal/website.git/blobdiff - source/blog/blog.cgi
Update resume with The Podcast App
[personal/website.git] / source / blog / blog.cgi
index 0875ea76d7069d5bbe183981fadac4a207c31a09..2865925128a9e4f6cb691157c870fb5bc9ff3281 100755 (executable)
@@ -559,11 +559,12 @@ def sanitize(obj):
 # find out our URL, needed for syndication
 try:
        n = os.environ['SERVER_NAME']
 # find out our URL, needed for syndication
 try:
        n = os.environ['SERVER_NAME']
-       p = os.environ['SERVER_PORT']
+        # Removed port because it messes up when behind a proxy
+       #p = os.environ['SERVER_PORT']
        s = os.environ['SCRIPT_NAME']
        s = os.environ['SCRIPT_NAME']
-       if p == '80': p = ''
-       else: p = ':' + p
-       full_url = 'https://%s%s%s' % (n, p, s)
+       #if p == '80': p = ''
+       #else: p = ':' + p
+       full_url = 'https://%s%s' % (n, s)
 except KeyError:
        full_url = 'Not needed'
 
 except KeyError:
        full_url = 'Not needed'