#296 filter to make http:/ --> http://

closed
Tim Vroom
None
9
2003-07-01
2003-06-21
Timothy Lord
No

Some browsers choke on links that start http:/ (one
slash) rather than http:// (two slashes).

One reader who reported this problem said he was using
Mozilla under Windows (Mozilla/5.0 (Windows; U; Win98;
en-US; rv:1.2.1) Gecko/20021130) while the link in
question worked fine with *my* Mozilla (X11; U; Linux
i686; en-US; rv:1.3) Gecko/20030319 Debian/1.3-3).

Not sure what other browsers are affected, though I
know this has happened before.

Whatever it is about some browsers that causes them not
to like the single slash, would it be hard to
automatically scan submitted URLs and convert them to
double slashes?

(Or are there situations where a single slash is
actually desired / correct?)

If there's no reason that single slashes should be
preserved, automatically doubling them seems to me like
a decent way to avoid some hassle.

Discussion

  • Rob Malda
    Rob Malda
    2003-06-24

    • assigned_to: nobody --> tvroom
     
  • Tim Vroom
    Tim Vroom
    2003-07-01

    • priority: 5 --> 9
    • status: open --> closed