Reject relative paths in MANIFEST files when installing.
This commit is contained in:
parent
17d69338a9
commit
78fc476e61
|
@ -11,6 +11,7 @@
|
||||||
net/url
|
net/url
|
||||||
file/untgz
|
file/untgz
|
||||||
file/unzip
|
file/unzip
|
||||||
|
file/private/check-path
|
||||||
openssl/sha1
|
openssl/sha1
|
||||||
json
|
json
|
||||||
net/git-checkout
|
net/git-checkout
|
||||||
|
@ -412,6 +413,7 @@
|
||||||
pkg-name)
|
pkg-name)
|
||||||
'directory))
|
'directory))
|
||||||
(define (path-like f)
|
(define (path-like f)
|
||||||
|
(check-unpack-path 'MANIFEST f)
|
||||||
(build-path package-path f))
|
(build-path package-path f))
|
||||||
(define (url-like f)
|
(define (url-like f)
|
||||||
(if (and (pair? (url-path pkg-url))
|
(if (and (pair? (url-path pkg-url))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user