mirror of https://github.com/fafhrd91/actix-web
Update CHANGES.md
This commit is contained in:
parent
fb278de4b4
commit
497bcbaf8b
|
@ -1,10 +1,11 @@
|
||||||
# Changes
|
# Changes
|
||||||
|
|
||||||
## Unreleased - 2021-xx-xx
|
## Unreleased - 2021-xx-xx
|
||||||
* Prevent directory traversal attack by checking if the request path is a
|
* Prevent directory traversal attack by checking if the request path is a descendant of the
|
||||||
descendant of the `serve_from` directory. E.g., if the files are served from
|
`serve_from` directory. E.g. If the files are served from `./test/`, and someone requests
|
||||||
`./test/`, and someone requests `..%5c/some-secret-file`, they will get a
|
`..%5c/some-secret-file`, they will get a 403 Forbidden response. [#2059]
|
||||||
Forbidden response.
|
|
||||||
|
[#2059]: https://github.com/actix/actix-web/pull/2059
|
||||||
|
|
||||||
|
|
||||||
## 0.6.0-beta.2 - 2021-02-10
|
## 0.6.0-beta.2 - 2021-02-10
|
||||||
|
|
Loading…
Reference in New Issue