KEMBAR78
Comparing v0.3.6...v0.4.0 · cyphar/filepath-securejoin · GitHub
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: cyphar/filepath-securejoin
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.3.6
Choose a base ref
...
head repository: cyphar/filepath-securejoin
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.4.0
Choose a head ref
  • 9 commits
  • 7 files changed
  • 1 contributor

Commits on Dec 17, 2024

  1. VERSION: back to development

    Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
    cyphar committed Dec 17, 2024
    Configuration menu
    Copy the full SHA
    682d3ad View commit details
    Browse the repository at this point in the history
  2. merge #38 into cyphar/filepath-securejoin:main

    Aleksa Sarai (2):
      VERSION: back to development
      VERSION: release v0.3.6
    
    LGTMs: cyphar
    cyphar committed Dec 17, 2024
    Configuration menu
    Copy the full SHA
    b498783 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2024

  1. gha: always check for latest Go release

    The default setting could result in us testing against old patch
    releases of Go versions, so force actions/setup-go to check if the
    cached version is the latest.
    
    Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
    cyphar committed Dec 18, 2024
    Configuration menu
    Copy the full SHA
    1be4136 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2025

  1. join: return an error if root is unclean path

    If a user provides an unclean root path, we will implicitly clean it at
    the end of SecureJoin (which may result in a path that doesn't exist or
    has "escaped" the root). Such usage is fundamentally unsafe so we should
    just return an error.
    
    Reported-by: Erik Sjölund <erik.sjolund@gmail.com>
    Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
    cyphar committed Jan 9, 2025
    Configuration menu
    Copy the full SHA
    bc750ad View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2025

  1. merge #43 into cyphar/filepath-securejoin:main

    Aleksa Sarai (1):
      join: return an error if root is unclean path
    
    LGTMs: cyphar
    cyphar committed Jan 10, 2025
    Configuration menu
    Copy the full SHA
    f3a512c View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2025

  1. mkdirall: switch to os.FileMode argument

    This is mostly a cosmetic change for most users, but libpathrs uses
    os.FileMode as well and most Go users are more used to using
    os.FileMode. The only thing that users need to watch out for is that
    they need to switch from unix.S_ISVTX to os.ModeSticky if they are using
    that bit (since os.FileMode and unix.S_* bits have a different layout).
    
    This will also help with building on 32-bit architectures without
    switching the argument type to uint32 explicitly.
    
    Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
    cyphar committed Jan 12, 2025
    Configuration menu
    Copy the full SHA
    0c2fbe6 View commit details
    Browse the repository at this point in the history
  2. gha: add GOARCH=386 build check

    Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
    cyphar committed Jan 12, 2025
    Configuration menu
    Copy the full SHA
    ea4e5b6 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2025

  1. merge #44 into cyphar/filepath-securejoin:main

    Aleksa Sarai (2):
      gha: add GOARCH=386 build check
      mkdirall: switch to os.FileMode argument
    
    LGTMs: cyphar kolyshkin
    cyphar committed Jan 13, 2025
    Configuration menu
    Copy the full SHA
    e410d4a View commit details
    Browse the repository at this point in the history
  2. VERSION: release v0.4.0

    Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
    cyphar committed Jan 13, 2025
    Configuration menu
    Copy the full SHA
    9a17e6b View commit details
    Browse the repository at this point in the history
Loading