0 Votes

Changes for page SubmitIncidentMacro

Last modified by Ryan C on 2025/06/08 05:22

From version 3.36
edited by Ryan C
on 2025/06/08 05:18
Change comment: There is no comment for this version
To version 3.39
edited by Ryan C
on 2025/06/08 05:21
Change comment: There is no comment for this version

Summary

Details

XWiki.WikiMacroClass[0]
Macro code
... ... @@ -4,7 +4,7 @@
4 4  #set($url = "$!wikimacro.parameters.url")
5 5  #set($image = "$!wikimacro.parameters.image")
6 6  
7 -## Enforce https:// if user forgot it
7 +## Add https:// if user forgets it
8 8  #if(!$url.startsWith("http"))
9 9   #set($url = "https://$url")
10 10  #end
XWiki.WikiMacroParameterClass[3]
Parameter type
... ... @@ -1,1 +1,1 @@
1 -Wiki
1 +Unknown