Skip to content

JSPWIKI-1294 see jira for details - #521

Open
spyhunter99 wants to merge 1 commit into
masterfrom
bug/JSPWIKI-1294
Open

spyhunter99 wants to merge 1 commit into
masterfrom
bug/JSPWIKI-1294

Conversation

@spyhunter99

Copy link
Copy Markdown
Contributor

No description provided.

* @return The absolute URL as a String.
* @since 2.12.2
*/
public static String getAbsoluteUrl(final HttpServletRequest request, final String relativeUrl) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure about the best way of handling this, as this would break the RSS if JSPWiki is served behind some kind of proxy / web server. IIRC, initially we had a jspwiki property for the url, then, as it was only used on the rss feed we tried to resolve from path (as this PR does now). Unfortunately, this broke the RSS and we ended up with today's code. Perhaps we should bring back the baseUrl property? I'll chime in at JSPWIKI-1294 with some more remarks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants