Skip to content
  • David Woodhouse's avatar
    Fix proxy username and password parsing. · 18918db3
    David Woodhouse authored
    
    
    We are supposed to take the *last* (unescaped) @ sign as the separation
    between user:pass and hostname, not the first. So use strrchr() instead
    of strchr().
    
    Conversely, the first colon is the separation between user and pass so
    strchr is still correct there.
    
    Also actually support unescaping the resulting username and password.
    
    Signed-off-by: David Woodhouse's avatarDavid Woodhouse <dwmw2@infradead.org>
    18918db3
To find the state of this project's repository at the time of any of these versions, check out the tags.