@nl5887 commented on GitHub:
When we had links to the raw url, the service was abused by phishers which included the raw images and scripts within their phishing sites. We've chosen for a…
@nl5887 commented on GitHub:
Good one, will fix this.
@johnko commented on GitHub:
-content = html_template.HTML(fmt.Sprintf("<pre>%s</pre>", data))
+content = html_template.HTML(fmt.Sprintf("<pre>%s</pre>", html.EscapeString(data)))
@nl5887 commented on GitHub:
In the mean time, you can workaround this issue by removing the RedirectHandler in main.go, by changing:
Handler: handlers.PanicHandler(LoveHandler(RedirectHandle…
@jasonyost commented on GitHub:
Just ran into this issue myself, the code for the redirect handler is looking for a host of 127.0.0.1 in handlers.go
func RedirectHandler(h http.Handler)…
@mapio commented on GitHub:
I did it like https://github.com/mapio/transfer.sh/blob/master/transfersh-server/main.go#L172 and it now works!
[But I had to clean the browser caches to force it to…
@mapio commented on GitHub:
This actually happens not only for an upload, but even accessing to the homepage!
$ curl -D- http://localhost:8080/
HTTP/1.1 301 Moved Permanently
Location:…
@melmi commented on GitHub:
Strange. Again: https://transfer.sh/4jpyn/koofeh.amr
I tested this both with google chrome 38 and curl 7.37.1.
@johnko commented on GitHub:
According to http://www.matroska.org/news/webm-matroska.html
webm is a subset of mkv
So what might work is serving *.mkv files with a Content-Type video/webm as…