Details
-
Bug
-
Resolution: Fixed
-
Minor
-
1.5 M2
-
None
-
macros.vm, https, patch
-
Description
Here is a fix for removing hard coded 'http' through ${request.scheme}
— macros.vm.orig 2008-06-27 15:04:58.000000000 +0200
+++ macros.vm 2008-06-27 15:08:17.000000000 +0200
@@ -162,8 +162,8 @@
-
- Displays the status for the given AIM id
##
#macro(aim $id)
-#set($onurl = "http://${request.serverName}${xwiki.getSkinFile('aimonline.gif')}")
-#set($offurl = "http://${request.serverName}${xwiki.getSkinFile('aimoffline.gif')}")
+#set($onurl = "${request.scheme}://${request.serverName}${xwiki.getSkinFile('aimonline.gif')}")
+#set($offurl = "${request.scheme}://${request.serverName}${xwiki.getSkinFile('aimoffline.gif')}")
<img border="0" src="http://big.oscar.aol.com/nvludo?on_url=${onurl}&off_url=${offurl}" alt="Online detector"></a>
#end
##
- Displays the status for the given AIM id