You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by bd...@apache.org on 2020/05/21 18:27:10 UTC
[shiro-site] branch master updated: [SHIRO-678] Add charset hint
for authentication data like passwords.
This is an automated email from the ASF dual-hosted git repository.
bdemers pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shiro-site.git
The following commit(s) were added to refs/heads/master by this push:
new f143360 [SHIRO-678] Add charset hint for authentication data like passwords.
new 67ad768 Merge pull request #55 from bmhm/SHIRO-678
f143360 is described below
commit f143360a95bfb1599a20aafe161e375b9113e6fb
Author: Benjamin Marwell <bm...@gmail.com>
AuthorDate: Sun Mar 29 12:01:16 2020 +0200
[SHIRO-678] Add charset hint for authentication data like passwords.
---
web.md.vtl | 2 ++
1 file changed, 2 insertions(+)
diff --git a/web.md.vtl b/web.md.vtl
index 45e4f59..279d817 100644
--- a/web.md.vtl
+++ b/web.md.vtl
@@ -130,6 +130,8 @@ Here is what the above config does:
#tip('ShiroFilter filter-mapping', 'It is usually desirable to define the `ShiroFilter filter-mapping` before any other `filter-mapping` declarations to ensure that Shiro can function in those filters as well.')
+#tip('ShiroFilter default encoding', 'The shiro filter is a standard servlet filter, with a default encoding of ISO-8859-1 according to the [servlet specification](https://javaee.github.io/servlet-spec/downloads/servlet-4.0/servlet-4_0_FINAL.pdf). However, the client can choose to send authentication data with a different encoding using the `charset` attribute of the `Content-Type` header.')
+
<a name="Web-Custom%7B%7BWebEnvironment%7D%7DClass"></a>
#[[#####Custom `WebEnvironment` Class]]#