Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scripts/legal_info_html: Fix HTTP 301 Moved Permanently issue with li… #90

Merged
merged 1 commit into from
Oct 11, 2023

Commits on Oct 11, 2023

  1. scripts/legal_info_html: Fix HTTP 301 Moved Permanently issue with li…

    …bxml2
    
    The script checks for thw presence of the download sources.
    When checking libxml2 ,HTTP 301 is returned with a relative location/path
    on the same host. In fact it just complains about a missing '/' in the
    URL. Assuming the location doesn't contain a protocol stop and validate
    the original URL.
    
    
    $ curl -IsS https://download.gnome.org/sources/libxml2/2.10
    HTTP/2 301
    server: nginx/1.24.0
    content-type: text/html
    location: /sources/libxml2/2.10/
    
    
    $ curl -IsS https://download.gnome.org/sources/libxml2/2.10/
    HTTP/2 200
    
    Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
    mhennerich committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    fc1494d View commit details
    Browse the repository at this point in the history