Commit Graph

17 Commits

Author SHA1 Message Date
Batiste Bieler 57a6793b8f
Implement wildcard for paths for the allowed-origins option (#290)
* Implement wildcard

* Add a little bit of documentation

* refactor(source_http): delete unstylish new lines

Co-authored-by: Tom <tomas@aparicio.me>
2020-02-07 18:10:16 +01:00
Benoît LELEVÉ 4a4214a4d6
Go Modules, Code Refactoring, VIPS 8.8.1, etc. (#269)
* Replace Dep by Go Modules
Code refactoring (switch, gofmt, ...)
Update libvips to 8.8.1 and go to 1.12.9
Use Debian Buster on Dockerfile

* Add GOLANG_VERSION to build args
Currently all tests done by TravisCI run on the same Go version regardless of the matrix

* Remove Go 1.10 from Travis matrix (Go modules require 1.11+)

* Update README.md Prerequisites

* Ignore Hash.Write() errors
2020-02-05 17:12:52 +01:00
Batiste Bieler 73233c629d Fix and add test for 2 buckets example (#281) 2019-12-19 16:20:31 +01:00
Nick Randall 687ef9bc62 add validation to allowed-origins to include path (#265)
* add validation to allowed-origins to include path

* Origins with a path receive a trailing '/' and added tests for origins with paths

* [NR] add some documentation on how  works
2019-07-07 12:12:53 +02:00
Ramiro Antonio ea5c6efd92 Changed custom headers naming to forward headers 2019-04-04 10:36:42 -03:00
Ramiro Antonio 3f2c60b21e Changed forwarded headers order, added tests and some fixes 2019-04-04 10:17:05 -03:00
Ramiro Antonio 03c3d8bfe8 Added custom headers forwarding support 2019-04-01 11:31:17 -03:00
Mark van der Velden d71d48b9ce
More literal to constant replacements 2018-12-30 10:12:34 +01:00
Mark van der Velden a299f70f89
Correcting comments, casing and constant use 2018-12-30 10:03:22 +01:00
Mark van der Velden d20af552a4
Including a test case with multiple subdomains 2018-12-19 09:39:21 +01:00
Mark van der Velden 132ee8edff Adding remote url wildcard support (#219)
* Fixing typo

* Adding wildcard support for allowing domains, closes #218

* Updated the documentation

* refactor(travis): remove old Go versions, add Go 1.11
2018-11-13 10:50:51 +02:00
Tomas Aparicio 076f458dd1 fix(test): remove unused variable body 2017-11-14 11:05:44 +01:00
Tomas Aparicio e8363b09b6 refactor(Gopkg): define version 2017-10-27 17:04:11 +02:00
Peter Chung 4e6ed64134 feat(max-allowed-size): add new option max-allowed-size in bytes (#111)
* feat(max-allowed-size): add new option max-allowed-size in bytes

* fix(max-allowed-size): HEAD response handling

- consider 200~206 as valid HEAD response codes
- do not defer res.Body.Close() of HEAD request
2016-12-17 18:52:58 +00:00
Tomas Aparicio b7041a1ee9 feat: forward authorization headers support 2016-09-05 22:53:54 +02:00
Tomas Aparicio 3e2d8179d2 feat(#62): support allowed origins 2016-02-20 11:59:50 +00:00
Tomas Aparicio 8290beefdf feat(#32): add test coverage 2015-11-04 14:00:50 +00:00