Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-40109

News Tool not handling redirects properly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: OPEN
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 12.1, 12.2, 19.0
    • Fix Version/s: None
    • Component/s: News (RSS)
    • Labels:
      None
    • Test Plan:
      Hide

      Please add a Test Plan here.

      Show
      Please add a Test Plan here.

      Description

      News feed produces error with invalid xml when a redirect is used.  We have the following feed URL:

      http://stories.illinoisstate.edu/feed/

       

      This redirects to :

      https://news.illinoisstate.edu/feed/

      <html> <head><title>301 Moved Permanently</title></head> <body bgcolor="white"> <center><h1>301 Moved Permanently</h1></center> <hr><center>nginx</center> </body> </html>
      
      $ wget -v http://stories.illinoisstate.edu/feed/ --2018-06-11 11:49:32-- http://stories.illinoisstate.edu/feed/ Resolving stories.illinoisstate.edu (stories.illinoisstate.edu)... 35.160.100.119, 35.166.230.138 Connecting to stories.illinoisstate.edu (stories.illinoisstate.edu)|35.160.100.119|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://stories.illinoisstate.edu/feed/ [following] --2018-06-11 11:49:33-- https://stories.illinoisstate.edu/feed/ Connecting to stories.illinoisstate.edu (stories.illinoisstate.edu)|35.160.100.119|:443... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: http://news.illinoisstate.edu/feed/ [following] --2018-06-11 11:49:33-- http://news.illinoisstate.edu/feed/ Resolving news.illinoisstate.edu (news.illinoisstate.edu)... 35.166.230.138, 35.160.100.119 Connecting to news.illinoisstate.edu (news.illinoisstate.edu)|35.166.230.138|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://news.illinoisstate.edu/feed/ [following] --2018-06-11 11:49:33-- https://news.illinoisstate.edu/feed/ Connecting to news.illinoisstate.edu
      

      If I update the feed URL to be https://news.illinoisstate.edu/feed/ it works.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                karagon Kenneth Aragon
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Git Source Code