html - how can I force href direction to external host page? -
i have html:
<a href="http:/myhost.com/tiles/internal?linegeom=(-71.1208,42.3317,-71.1052,42.3261,-71.0872,42.3354,-71.0570,42.3295,-71.0376,42.3394),(-71.1208,42.3317,-71.0754,42.3311,-71.0617,42.3428,-71.0376,42.3394),(-71.1208,42.3317,-71.0675,42.3525,-71.0376,42.3395)">live map</a> i open in browser, follows:
and when press link i'm direct to:
http://localhost:63342/myhost.com/tiles/internal?linegeom=(-71.1208,42.3317,-71.1052,42.3261,-71.0872,42.3354,-71.0570,42.3295,-71.0376,42.3394),(-71.1208,42.3317,-71.0754,42.3311,-71.0617,42.3428,-71.0376,42.3394),(-71.1208,42.3317,-71.0675,42.3525,-71.0376,42.3395) how can change directed to: (new http page):
"http:/myhost.com/tiles/internal?linegeom=(-71.1208,42.3317,-71.1052,42.3261,-71.0872,42.3354,-71.0570,42.3295,-71.0376,42.3394),(-71.1208,42.3317,-71.0754,42.3311,-71.0617,42.3428,-71.0376,42.3394),(-71.1208,42.3317,-71.0675,42.3525,-71.0376,42.3395)" update
how can it's generated "http:/" instead of "http://" ?
this url builder:
uribuilder builder = uribuilder .frompath(constants.livemap_base_url_us) .scheme("http"); return builder.build().tostring();
it seems url incorrect
change
http:/myhost.com to
http://myhost.com
Comments
Post a Comment