- commit
- 8982fea
- parent
- b11cb7b
- author
- Eric Bower
- date
- 2024-03-31 01:08:58 +0000 UTC
fix(pgs): use full filepath when checking for `.well-known` Closes: #113
1 files changed,
+1,
-1
+1,
-1
1@@ -347,7 +347,7 @@ func (h *UploadAssetHandler) validateAsset(data *FileData) (bool, error) {
2 }
3
4 // ".well-known" is a special case
5- if strings.Contains(fname, "/.well-known/") {
6+ if strings.Contains(data.Filepath, "/.well-known/") {
7 if shared.IsTextFile(string(data.Text)) {
8 return true, nil
9 } else {