You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Niklas Polke (JIRA)" <ji...@apache.org> on 2016/09/30 20:14:21 UTC

[jira] [Updated] (JSPWIKI-1033) Incorrect relative navigations

     [ https://issues.apache.org/jira/browse/JSPWIKI-1033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niklas Polke updated JSPWIKI-1033:
----------------------------------
    Description: 
+Problem/error:+
I get a wrong url when clicking on the *login button*, the *save button of the user preferences*, the *save button of a wiki entry*, ...
My setting of {{jspwiki.reference=relative}} seems to be ignored within this navigation.

+Background:+
I've set the {{jspwiki.baseURL}} to my *internet*-URL. But in parallel I want to use the wiki within my *intranet* so I found the possibility to set the reference to be relative as described above. This way everything seems to work except the navigation after clicking to login.

  was:
+Problem/error:+
I get a wrong url when clicking on the login button. My setting of {{jspwiki.reference=relative}} seems to be ignored within this navigation.
_edit:_
Also when saving the {{user preferences}} the {{baseURL}} is used.

+Background:+
I've set the {{jspwiki.baseURL}} to my *internet*-URL. But in parallel I want to use the wiki within my *intranet* so I found the possibility to set the reference to be relative as described above. This way everything seems to work except the navigation after clicking to login.

+Workaround:+
Because of the fact that only this navigation seems to use strictly the {{baseURL}} and ignoring the setting of {{relative}} it is possible to manually edit the URL and go on working afterwards without problems.

        Summary: Incorrect relative navigations  (was: Wrong redirect after login)

> Incorrect relative navigations
> ------------------------------
>
>                 Key: JSPWIKI-1033
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-1033
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Authentication & Authorization
>    Affects Versions: 2.10.2
>         Environment: RaspberryPi, Tomcat 8.0.26
>            Reporter: Niklas Polke
>
> +Problem/error:+
> I get a wrong url when clicking on the *login button*, the *save button of the user preferences*, the *save button of a wiki entry*, ...
> My setting of {{jspwiki.reference=relative}} seems to be ignored within this navigation.
> +Background:+
> I've set the {{jspwiki.baseURL}} to my *internet*-URL. But in parallel I want to use the wiki within my *intranet* so I found the possibility to set the reference to be relative as described above. This way everything seems to work except the navigation after clicking to login.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)