Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Questions anonymous login redirection wrong ?

Dominik Budde May 28, 2015

The issue was also described in this question.

If you allow anonymous users to enter Confluence with Questions and you type in Your question without beeing logged in, you will be prompted to do so if you klick on the "Ask" button"

After logging in, you will get a blank page, because of a wrong redirection link:

(Sorry that it is in german)

 

2015-05-28 16_51_16-Fragen - Confluence.png

So my analytics result is:

 

There seems to be a bug in sources-2.0.10\plugin\src\main\resources\widget\anonymous\anonymous.js

loginRedirect: encodeURIComponent(document.location.pathname.replace(AJS.contextPath(), ""))

where contextPath does not contain a trailing /

So the String "/questions" will be encoded to HTML Entities instead of "questions".

I was not able to bulid a custom fix version, because i never built a Confluence Plugin before and dont have an IDE.

How does it work ? If i Change the js and the min.js within the jar file which is in the .obr container it does not let me install the plugin anymore with the message that there was no starting routine found.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Dominik Budde May 31, 2015

As the support told me this issue is listed under

https://jira.atlassian.com/browse/CQ-1813

TAGS
AUG Leaders

Atlassian Community Events