master
Commits on Sep 20, 2021
Commits on Sep 19, 2021
-
Allow escaping of colon in route path so Google Cloud API "custom met…
…hods" https://cloud.google.com/apis/design/custom_methods can be implemented (resolves #1987) (#1988) Allow escaping of colon in route path so Google Cloud API "custom methods" https://cloud.google.com/apis/design/custom_methods could be implemented (resolves #1987)
Commits on Sep 15, 2021
Commits on Sep 14, 2021
-
Added request logger middleware which helps to use custom logger libr…
…ary for logging requests (#1980) Added request logger middleware which helps to use custom logger library for logging requests.
Commits on Aug 22, 2021
-
try to fix #1905 and add some notes (#1947)
* fix 1905 and add some notes (cherry picked from commit 9d96199) * fix typo (cherry picked from commit e8ea1bc) * Add tests for timeout middleware with full http.Server stack running. Add warning about middleware * Fix example Co-authored-by: lipengwei <lipengwei@uniontech.com> Co-authored-by: toimtoimtoim <desinformatsioon@gmail.com>
Commits on Aug 15, 2021
-
-
-
docs: add aldas as a contributor for review (#1962)
* docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Vishal Rana <vr@labstack.com>
-
-
docs: add pafuent as a contributor for maintenance (#1961)
* docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
-
docs: add aldas as a contributor for maintenance (#1960)
* docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
-
docs: add vishr as a contributor for maintenance (#1959)
* docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
-
-
docs: add vishr as a contributor for design (#1958)
* docs: update README.md [skip ci] * docs: create .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
-
Commits on Aug 12, 2021
Commits on Aug 10, 2021
-
Ignore case of auth scheme in request header
Some clients send an authorization header containing the "bearer" keyword in lower case. This led to echo responding with "missing or malformed jwt". Request.BasicAuth (net/http) ignores the basic auth scheme's case since a while: https://go-review.googlesource.com/c/go/+/111516/
Commits on Aug 2, 2021
Commits on Aug 1, 2021
-
-
JWT middleware has been changed from
github.com/dgrijalva/jwt-goto…… github.com/golang-jwt/jwt` due former library being unmaintained and having security issues. NOTE: `golang-jwt/jwt` now only supports last 2 Go releases. So 1.15+ For detailed information please read #1940
Commits on Jul 12, 2021
Commits on Jul 5, 2021
-
Allow for custom JSON encoding implementations (#1880)
* Allow for custom JSON encoding implementations Co-authored-by: toimtoimtoim <desinformatsioon@gmail.com>
-
Commits on Jun 25, 2021
Commits on Jun 13, 2021
-
Adds JWTConfig.ParseTokenFunc to JWT middleware to allow different li…
…braries implementing JWT parsing.
Commits on Jun 2, 2021
Commits on Jun 1, 2021
-
docs: Added comment about TokenLookup
Signed-off-by: Kaan Karakaya <yusufkaan142@gmail.com>
Commits on May 25, 2021
-
feat: Bind data using headers as source (#1866)
Currently, echo supports binding data from query, path or body. Sometimes we need to read bind data from headers. It would be nice to automatically bind those using the `bindData` func, which is already well prepared to accept `http.Header`. I didn't add this to the `Bind` func, so this will not happen automatically. Main reason is backwards compatability. It might be confusing if variables are bound from headers when upgrading, and might even have become a security issue as pointed out in #1670. * Add docs for BindHeaders * Add test for BindHeader with invalid data type

