tAdd newline after URL file download - partage - File upload system
(HTM) git clone git://git.z3bra.org/partage.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 19eac4e3851f659762ab3ac53cc6e7d36cce1a0c
(DIR) parent 0da61be51a6149b72f221b7b91f080bb2af7d668
(HTM) Author: Willy Goiffon <dev@z3bra.org>
Date: Mon, 11 Oct 2021 17:21:28 +0200
Add newline after URL file download
Diffstat:
M partage.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/partage.go b/partage.go
t@@ -122,7 +122,7 @@ func parse(w http.ResponseWriter, r *http.Request) {
return
}
- resp := conf.baseuri + conf.filectx + filepath.Base(tmp.Name())
+ resp := conf.baseuri + conf.filectx + filepath.Base(tmp.Name()) + "\r\n"
w.Write([]byte(resp))
case "GET":