You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2026-05-22 10:15:16 +02:00
Improve path validation for repo-* commands.
Check for invalid path in repo-* commands. Perform path validation and throw an error when appropriate. Path may not contain '//'. Strip trailing '/' from path. Absolute path must fall under repo path.
This commit is contained in:
@@ -447,6 +447,14 @@ src/command/remote/remote.h:
|
||||
class: core
|
||||
type: c/h
|
||||
|
||||
src/command/repo/common.c:
|
||||
class: core
|
||||
type: c
|
||||
|
||||
src/command/repo/common.h:
|
||||
class: core
|
||||
type: c/h
|
||||
|
||||
src/command/repo/create.c:
|
||||
class: core
|
||||
type: c
|
||||
|
||||
Reference in New Issue
Block a user