#237 closed New Feature (invalid)
BaseHref doesn't appear to be working as expected (allowing full URL instead of relative)
Reported by: | Toby | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description
By my understanding, adding BaseHref would allow a default, alternative URL to precede a file link. I suspect I've misunderstood I've been through 20 pages of google searches to find how to create a full URL for an image address, but with no luck. In some cases a user will NEED to include a full URL (perhaps they, as I, will want to format html emails with images?)
In the end the only way I could do this was to modify editor/filemanager/browser/default/frmresourcelist.html - line 87 from: window.top.opener.SetUrl( fileUrl ) ; to: window.top.opener.SetUrl( "http://www.mydomain.co.uk" + fileUrl ) ;
I really think you should set up a forum outside of sourceforge. There are a lot of people looking for help out there and there's no definitive place to get it. If there is, it doesn't work well in google :)
BaseHref is there to tell the browser how to resolver relative URLs. It has nothing to to with URL creations.