[ 
https://issues.apache.org/jira/browse/JSPWIKI-1044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15886498#comment-15886498
 ] 

Jürgen Weber commented on JSPWIKI-1044:
---------------------------------------

HttpServletRequest has method getRequestURL(), so no need to configure it, 
requestURL should give hostname and port.

The password email is from LostPassword.jsp which has a request reference.

As for RSS, the RSSURL is sought by FeedDiscoveryTag which is a Tag and has 
PageContext.getRequest()

Those HttpServletRequest methods will not work behind a Proxy, but you can 
configure Apache to forward the Host to a proxied Tomcat:
http://stackoverflow.com/questions/6070335/retain-original-request-url-on-mod-proxy-redirect

> URL in password recovery mail is relative while it should be absolute 
> ----------------------------------------------------------------------
>
>                 Key: JSPWIKI-1044
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-1044
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Authentication & Authorization
>    Affects Versions: 2.10.3
>         Environment: Java 8
> Tomcat 8
> JSPWiki 2.10.3-git-27
>            Reporter: Harry Metske
>             Fix For: 2.10.3
>
>
> After entering the password recovery dialog you can get an email sent to you 
> with a new generated password.
> This email used to contain a link to the login URL of your wiki, but after 
> JSPWIKI-1035 this URL is relative.
> Example
> {noformat}
> As requested, your new password for login "EricKraußer" is "JpwwzA5G"
> You may log in at /wiki/Login.jsp.
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to