Re: Accessing my home web page... Help!

From: Phil Carmody (thefatphil_demunge_at_yahoo.co.uk)
Date: 02/12/05


Date: Sat, 12 Feb 2005 18:53:11 +0200

On Sat, 12 Feb 2005 14:16:54 +0000, Jens.Toerring wrote:
> To further confuse the issue, some webbrowsers seem to convert the
> backslashes in an URL to slashes automatically before sending the
> request to the server, making it seem to work (I guess IE does
> that). But when you try to use the same URL with a browser that
> doesn't do that (and there's no reason for that except to cater
> for broken HTML created by lots of Windows applications) then you
> must expect that it won't work. So, never use backslashes instead
> of slashes in URLs (or in links in the HTML code), it is bound to
> fail since it doesn't conform to the HTTP standard, see RFC 2616
> that defines the HTTP protocol and RFC 2396 that tells how URLs
> (or URIs, to be precise) must look like. Backslashes as path
> separators are something that's used for DOS and Windows but not
> everywhere else.

Here's a quick test of your browser, on a server that understands
backslash characters, and treats them as non-special characters
distinct from forward slashes:

http://theanna.org/slash/

Phil



Relevant Pages

  • Re: Makefile portability
    ... may be either forward slashes or backslashes. ... That's why the standard approach to build sofware packages is to rely on a ... set of scripts to perform tests on the current platform and, from there, ...
    (comp.unix.programmer)
  • Re: DATABASE field table format - changes not saved over Citrix
    ... the forward slashes were typos. ... The switches do work, but certain changes to ... It must be a Citrix ... >require BACKslashes, not forward slashes, as in your ...
    (microsoft.public.word.mailmerge.fields)
  • Re: Thanks for help re: %userprofile%
    ... Python likes forward slashes in file names, whereas windows likes back ... The string does NOT actually contain any doubled backslashes. ...
    (comp.lang.python)
  • Re: r""
    ... I have decided to build a tool to help us sync files in UNC ... config file), the UNC slashes are going to escape stuff in the string, ... While backslashes in string literals are ... escape characters that must be doubled up to convey literal backslashes, ...
    (comp.lang.python)
  • Re: Accessing my home web page... Help!
    ... for broken HTML created by lots of Windows applications) then you ... So, never use backslashes instead ... fail since it doesn't conform to the HTTP standard, ... that defines the HTTP protocol and RFC 2396 that tells how URLs ...
    (comp.programming)