mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-30 22:39:58 +02:00
Prevent symbolic links from themes
This commit is contained in:
@@ -718,6 +718,7 @@ func createThemesOverlayFs(p *paths.Paths) (afero.Fs, []string, error) {
|
||||
}
|
||||
|
||||
fs, err := createOverlayFs(p.Fs.Source, absPaths)
|
||||
fs = hugofs.NewNoLstatFs(fs)
|
||||
|
||||
return fs, absPaths, err
|
||||
|
||||
|
Reference in New Issue
Block a user