Hello,

I write the following test page:
= Goovy =
{{groovy}}
println 
xwiki.getURLContent("http://localhost:8080/xwiki/bin/download/Sandbox/ReportMacro/report2xwiki.xsl";)
{{/groovy}}

= Velocity =
{{velocity}}
$xwiki.getURLContent("http://localhost:8080/xwiki/bin/download/Sandbox/ReportMacro/report2xwiki.xsl";)
{{/velocity}}

And it doesn't return attachment file content.
If I change URL to "http://www.google.com";, both returns Google page
If I curl URL from console, then I get my attachment file content.

What's wrong? Don't we allowed to used absolute URL to our wiki?

I run XWiki 2.5 with Tomcat 6.0.28, Mysql 5.1.49, Ubuntu 10.10

Arnaud.
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to