I'm trying upload a ZIP file into CMS repository. Inside my ZIP file I have two HTML files and some images and CSS files. JBoss Portal uncompress a structure file in repository correct, but JBoss Portal changes all references of images and links of the HTML files.
It is a representantion of my structure:
+/album +-index.htm +/images +- cartaz.jpg +- bg.jpg +/css +- general.css +- default.css
I wrestled with this issue 2 years ago. I even suggested that the upload process automatically modify the URL as you mentioned. If I tried I could probably find the forum post gain. But the end result is that you need to add the "album/" part to your links. Yeah, it means that cannot verify the contents from outside the portal, but that's the way it is.