This is an automated email from the ASF dual-hosted git repository.

lprimak pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/shiro-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 70aa9f93c bugfix: fixed javadoc limks from modules other than core
70aa9f93c is described below

commit 70aa9f93c03b1752b15aa66e45a92340c4cf40db
Author: lprimak <[email protected]>
AuthorDate: Sun Aug 25 16:14:07 2024 -0500

    bugfix: fixed javadoc limks from modules other than core
---
 src/site/assets/.htaccess | 2 +-
 src/site/content/web.adoc | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/site/assets/.htaccess b/src/site/assets/.htaccess
index 3ecc52d2c..e5db4c8ed 100644
--- a/src/site/assets/.htaccess
+++ b/src/site/assets/.htaccess
@@ -52,7 +52,7 @@ RedirectMatch /static/1.1.0(.*) /static/current$1
 RedirectMatch /static/1.0.0-incubating(.*) /static/current$1
 
 # Rediect Javadoc
-RedirectMatch /static/current/apidocs/shiro-(.*)/(.*) 
https://javadoc.io/doc/org.apache.shiro/shiro-$1/latest/$2
+RedirectMatch /static/current/apidocs/shiro-(.[A-z-]+)/(.*) 
https://javadoc.io/doc/org.apache.shiro/shiro-$1/latest/$2
 RedirectMatch /static/current/apidocs/(.*) 
https://javadoc.io/doc/org.apache.shiro/shiro-core/latest/$1
 
 # latest
diff --git a/src/site/content/web.adoc b/src/site/content/web.adoc
index c7e72e8e7..a0b12bd14 100644
--- a/src/site/content/web.adoc
+++ b/src/site/content/web.adoc
@@ -570,7 +570,7 @@ For example, you could set the Cookie domain:
 securityManager.sessionManager.sessionIdCookie.domain = foo.com
 ----
 
-See the 
link:static/current/shiro-web/apidocs/org/apache/shiro/web/servlet/SimpleCookie.html[SimpleCookie
 JavaDoc] for additional properties.
+See the 
link:static/current/apidocs/shiro-web/org/apache/shiro/web/servlet/SimpleCookie.html[SimpleCookie
 JavaDoc] for additional properties.
 
 The cookie's default name is `JSESSIONID` in accordance with the servlet 
specification. Additionally, Shiro's cookie supports the 
https://en.wikipedia.org/wiki/HTTP_cookie#HttpOnly_cookie[`HttpOnly`] and 
https://en.wikipedia.org/wiki/HTTP_cookie#Same-site_cookie[`SameSite`] flags. 
The `sessionIdCookie` sets `HttpOnly` to `true` and `SameSite` to `LAX` by 
default for extra security.
 
@@ -680,7 +680,7 @@ securityManager.rememberMeManager.cookie.maxAge = blah
 ...
 ----
 
-See the 
link:static/current/apidocs/shiro-web/org/apache/shiro/web/mgt/CookieRememberMeManager.html[`CookieRememberMeManager`]
 and the supporting 
link:static/current/apidocs/src-html/org/apache/shiro/web/servlet/SimpleCookie.html[`SimpleCookie`]
 JavaDoc for configuration properties.
+See the 
link:static/current/apidocs/shiro-web/org/apache/shiro/web/mgt/CookieRememberMeManager.html[`CookieRememberMeManager`]
 and the supporting 
link:static/current/apidocs/shiro-web/org/apache/shiro/web/servlet/SimpleCookie.html[`SimpleCookie`]
 JavaDoc for configuration properties.
 
 === Custom `RememberMeManager`
 

Reply via email to