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

curl/get_url_file_name: use libcurl URL parser #9684

Closed
wants to merge 3 commits into from

Commits on Oct 10, 2022

  1. curl/get_url_file_name: use libcurl URL parser

    To avoid URL tricks, use the URL parser for this.
    
    This update changes curl's behavior slightly in that it will ignore the
    possible query part from the URL and only use the file name from the
    actual path from the URL. I consider it a bugfix.
    
    "curl -O localhost/name?giveme-giveme" will now save the output in the
    local file named 'name'
    
    Updated test 1210 to verify
    bagder committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    8f90e99 View commit details
    Browse the repository at this point in the history
  2. squashme: minor efficiency nit

    jay committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    239f6c1 View commit details
    Browse the repository at this point in the history
  3. fixup style warning

    bagder committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    4205610 View commit details
    Browse the repository at this point in the history