Details
-
Bug
-
Resolution: Fixed
-
Minor
-
1.5 M2
-
None
-
mindmap macro, https, patch
-
Description
mindmap macro is only creating urls with http.
Here is a patch to fix this problem.
— macros.vm.orig 2008-06-27 14:50:32.000000000 +0200
+++ macros.vm 2008-06-27 14:59:06.000000000 +0200
@@ -264,7 +264,7 @@
#set($mmurl = $mindmap)
#else
#set($mmurl1 = $doc.getAttachmentURL($mindmap,"download"))
-#set($mmurl = "http://${request.serverName}:${request.serverPort}${mmurl1}")
+#set($mmurl = "${request.scheme}://${request.serverName}:${request.serverPort}${mmurl1}")
#end
#end
<applet code="freemind.main.FreeMindApplet.class" archive="${request.contextPath}/freemind/freemind.jar" width="${width}" height="${height}">