• Joe Tsai's avatar
    archive/tar: fix parsePAX to be POSIX.1-2001 compliant · 12c9844c
    Joe Tsai authored
    Relevant PAX specification:
    <<<
    If the <value> field is zero length, it shall delete any header
    block field, previously entered extended header value, or
    global extended header value of the same name.
    >>>
    
    We don't delete global extender headers since the Reader doesn't
    even support global headers (which the specification admits was
    a controversial feature).
    
    Change-Id: I2125a5c907b23a3dc439507ca90fa5dc47d474a9
    Reviewed-on: https://go-review.googlesource.com/31440
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    12c9844c
Name
Last commit
Last update
..
tar Loading commit data...
zip Loading commit data...