Possible minor bug with URLType property?

Last post 01-13-2008, 9:19 PM by Adam. 2 replies.
Sort Posts: Previous Next
  •  01-05-2008, 4:19 PM 36171

    Possible minor bug with URLType property?

    Hi,
     
    I think I've discovered a minor foible with the URLType property and non-standard http ports. I develop several web sites on my machine and serve them from localhost with different port numbers, e.g.:
     
    http://localhost:81
    http://localhost:82
    etc.
     
    Using "http://localhost:81/photos/test.jpg" as a sample image reference, I find is the following behavior:
     
    If I set URLType to default the control returns the following source attribute in the HTML:
    img src=/photos/test.jpg

    If I set URLType to absolute the control returns the following source attribute in the HTML:
    img src=http://localhost:81/photos/test.jpg
     
    Both of these seem fine. But if I set URLType to site relative the control returns:
    img src=":81/photos/test.jpg"
     
    Note that in converting the reference to site relative, it is not stripping the port number as I believe it probably should to be truly relative from the root of the site. Is that correct?
     
    Not a big deal at all, just something I noticed and figured I'd share.
     
    Regards,
    Greg
     
     

  •  01-13-2008, 3:48 PM 36272 in reply to 36171

    Re: Possible minor bug with URLType property?

    So, is this a issue going to be addressed?
     


  •  01-13-2008, 9:19 PM 36275 in reply to 36171

    Re: Possible minor bug with URLType property?

    Greg,
     
    We are investigating this issue and will post a solution soon.

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML