Relative and absolute url's - virtual folder?

  •  11-21-2007, 2:59 AM

    Relative and absolute url's - virtual folder?

    Hi,
     
    I already open this as a ticket but I want to know if I generally right...
     
    I've got a web form with CuteEditor 6 that resides on a virtual folder (name it cutetest). And I insert a pic into the editor that set to use relative paths. But when I get markup for the image it's wrong:
     
    <img alt="" src= " /cutetest/userFiles/images/Image.jpg " />
     
    In my opinion the right would be:
     
    <img alt="" src=" /userFiles/images/Image.jpg " />
     
    because my app root is http://mydomain.com/cutetest/.
    Is that correct?
     
    If it is then CuteEditor has a bug. And I put an example here which shows exactly what I've described - http://interlogus.ru/cutetest/Relative-or-Absolute-URLs.aspx.
     
    Thanks,
    Alex
    Filed under:
View Complete Thread