Vulnerability Report: GO-2022-0988

standard library

JoinPath and URL.JoinPath do not remove ../ path elements appended to a relative path. For example, JoinPath("https://golang.ir", "../go") returns the URL "https://golang.ir/../go", despite the JoinPath documentation stating that ../ path elements are removed from the result.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL