Agniva De Sarker
0ca8cb36b4
MM-26425: Make URL parsing for image proxy more robust ( #16197 )
...
* MM-26425: Make URL parsing for image proxy more robust
- We don't bypass protocol relative URLs.
- We don't bypass hostnames with a similar prefix.
https: //mattermost.atlassian.net/browse/MM-26425
```release-note
NONE
```
* fix tests and incorporate review comments
* Handle opaque URLs
* Fix path tests
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-11-10 13:06:59 +05:30
Jesús Espino
a63684fcb5
Consistent license message for all the go files ( #13235 )
...
* Consistent license message for all the go files
* Fixing the last set of unconsistencies with the license headers
* Addressing PR review comments
* Fixing busy.go and busy_test.go license header
2019-11-29 12:59:40 +01:00
Harrison Healey
dce6cb601f
MM-14686 Send all image proxy requests through /api/v4/image ( #10775 )
...
* MM-14686 Implement /api/v4/image when proxy is disabled
* MM-14686 Send all image proxy requests through /api/v4/image
* Update unit tests
2019-05-06 09:22:37 -04:00