Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Increment patch versions of askama_{shared,escape} | 2022-02-16 | 1 | -1/+1 | |
| | |||||
* | Make json filter safe | 2022-02-16 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | Previously the built-in json filter had an issue that made it unsafe to use in HTML data. When used in HTML attributes an attacker who is able to supply an arbitrary string that should be JSON encoded could close the containing HTML element e.g. with `"</div>"`, and write arbitrary HTML code afterwards as long as they use apostrophes instead of quotation marks. The programmer could make this use case safe by explicitly escaping the JSON result: `{{data|json|escape}}`. In a `<script>` context the json filter was not usable at all, because in scripts HTML escaped entities are not parsed outside of XHTML documents. Without using the safe filter an attacker could close the current script using `"</script>"`. This PR fixes the problem by always escaping less-than, greater-than, ampersand, and apostrophe characters using their JSON unicode escape sequence `\u00xx`. Unless the programmer explicitly uses the safe filter, quotation marks are HTML encoded as `"`. In scripts the programmer should use the safe filter, otherwise not. | ||||
* | Add markdown filter | 2022-02-07 | 1 | -0/+2 | |
| | |||||
* | Remove used optional dependency | 2022-01-31 | 1 | -1/+0 | |
| | |||||
* | Move extension_to_mime_type() to askama_shared | 2022-01-07 | 1 | -0/+2 | |
| | |||||
* | Bump version number for askama_shared | 2022-01-04 | 1 | -1/+1 | |
| | |||||
* | Bump version numbers | 2021-11-24 | 1 | -2/+2 | |
| | |||||
* | Remove authors from Cargo metadata (see RFC 3052) | 2021-11-24 | 1 | -1/+0 | |
| | |||||
* | Upgrade to nom 7 | 2021-08-21 | 1 | -1/+1 | |
| | |||||
* | Bump version numbers in anticipation of beta release | 2021-08-21 | 1 | -1/+1 | |
| | |||||
* | Upgrade nom to 6.2.1 (bitvec & funty issue) | 2021-08-02 | 1 | -2/+1 | |
| | |||||
* | Rename askama_actix trait method as suggested by clippy | 2021-02-15 | 1 | -1/+1 | |
| | | | | | By bumping the dependency versions for askama and askama_shared, this should be safe. | ||||
* | Fix bitvec broken dependency temporarily | 2021-02-15 | 1 | -0/+1 | |
| | |||||
* | Merge pull request #400 from djc/local | 2020-12-15 | 1 | -1/+1 | |
|\ | | | | | Sync local repo with GitHub | ||||
| * | Bump version for askama_shared | 2020-11-19 | 1 | -1/+1 | |
| | | |||||
| * | Bump versions to fix semver problem | 2020-11-17 | 1 | -1/+1 | |
| | | |||||
* | | Disable nom default features | 2020-11-21 | 1 | -3/+1 | |
|/ | | | | | This removes unnecessary lexical feature reducing amount of crates Askama depends on. | ||||
* | Bump version for askama_shared | 2020-11-16 | 1 | -1/+1 | |
| | |||||
* | Upgrade to nom 6 | 2020-11-02 | 1 | -1/+1 | |
| | |||||
* | Bump version numbers | 2020-07-28 | 1 | -1/+1 | |
| | |||||
* | Bump versions to prepare for askama_tide release | 2020-07-14 | 1 | -1/+1 | |
| | |||||
* | Bump askama_shared version with whitespace fixes | 2020-06-30 | 1 | -1/+1 | |
| | |||||
* | Bump version number for askama_shared | 2020-06-30 | 1 | -1/+1 | |
| | |||||
* | Reference READMEs in crate metadata | 2020-06-30 | 1 | -0/+1 | |
| | |||||
* | Bump version numbers | 2020-06-30 | 1 | -2/+2 | |
| | |||||
* | add urlencode filter | 2020-03-30 | 1 | -2/+3 | |
| | |||||
* | Move code generation into askama_shared | 2020-01-29 | 1 | -0/+1 | |
| | |||||
* | Move input module into askama_shared | 2020-01-29 | 1 | -0/+2 | |
| | |||||
* | Move parser into askama_shared | 2020-01-29 | 1 | -0/+3 | |
| | |||||
* | Bump version to 0.9.1 | 2020-01-27 | 1 | -1/+1 | |
| | |||||
* | Show all filters in docs.rs | 2020-01-27 | 1 | -0/+3 | |
| | |||||
* | Bump version numbers to 0.9.0 | 2020-01-15 | 1 | -2/+2 | |
| | |||||
* | Make dependencies optional where possible | 2020-01-15 | 1 | -4/+11 | |
| | |||||
* | Modernize and simplify imports | 2020-01-15 | 1 | -2/+1 | |
| | |||||
* | Update toml requirement from 0.4 to 0.5 | 2019-03-18 | 1 | -1/+1 | |
| | | | | | | | Updates the requirements on [toml](https://github.com/alexcrichton/toml-rs) to permit the latest version. - [Release notes](https://github.com/alexcrichton/toml-rs/releases) - [Commits](https://github.com/alexcrichton/toml-rs/compare/0.4.0...0.5.0) Signed-off-by: dependabot[bot] <support@dependabot.com> | ||||
* | Add optional support for yaml filter (see #192) | 2019-01-17 | 1 | -0/+1 | |
| | |||||
* | Bump versions in anticipation of 0.8.0 release | 2019-01-17 | 1 | -2/+2 | |
| | |||||
* | Upgrade to 2018 edition | 2018-12-08 | 1 | -0/+1 | |
| | |||||
* | Add filesizeformat filter | 2018-11-16 | 1 | -0/+1 | |
| | |||||
* | Clean up unused features | 2018-11-07 | 1 | -7/+0 | |
| | |||||
* | Create askama_escape crate | 2018-11-07 | 1 | -0/+1 | |
| | |||||
* | Bump version to 0.7.2 | 2018-10-08 | 1 | -1/+1 | |
| | |||||
* | Add absolute value filter | 2018-09-22 | 1 | -0/+1 | |
| | |||||
* | Bump versions to 0.7.1 | 2018-07-23 | 1 | -1/+1 | |
| | |||||
* | Add optional implementation for actix_web's Responder trait | 2018-07-22 | 1 | -0/+1 | |
| | |||||
* | Add partial support for multiple template dirs | 2018-07-10 | 1 | -2/+4 | |
| | |||||
* | Bump version numbers to 0.7.0 | 2018-06-22 | 1 | -1/+1 | |
| | |||||
* | Converted error-chain based error to enum based error | 2018-06-04 | 1 | -1/+0 | |
| | | | | | | | - now implements `Send` + `Sync` + `'static` - still implements `std::error::Error`, `Debug`, `Display`, `From<std::fmt::Error>`, `From<::serde_json::Error>` | ||||
* | Version bump to 0.6.2 | 2018-04-18 | 1 | -1/+1 | |
| | |||||
* | Bump version numbers to 0.6.1 | 2018-04-12 | 1 | -1/+1 | |
| |