1. 10 Nov, 2000 1 commit
    • Tony Finch's avatar
      In mass hosting setups (using mod_vhost_alias or mod_rewrite) where · 4a3f9b86
      Tony Finch authored
      the hostname is interpolated into the filename, we need to be sure
      that the result of interpolation doesn't expose parts of the
      filesystem that should be private. This was done by checking the
      syntax of the Host: header according to RFC 1123 and RFC 952. However,
      many people have broken configurations that violate this syntax
      (frequently because they use underscores in their names), and it also
      doesn't accommodate the current effort to internationalize the DNS. I
      don't think the former is a compelling reason to relax the syntax
      checking, but the latter does justify this change.
      
      The only RFC on internationalized DNS at the moment is RFC 2825 which
      is an introduction to how difficult the whole thing is; the other
      official documentation is a pile of Internet Drafts produced by the
      Internationalized Domain Names Working Group of the IETF (with names
      starting "draft-ietf-idn-"). However they have very little to say
      about URIs, and the current Internet draft about internationalized
      URIs (draft-masinter-url-i18n-05) has very little to say about
      hostnames :-( On the gripping hand there is some useful information at
      <http://www.apng.org/idns/> where there is some iDNS testbed work
      going on. The basic idea is that although the format of the hostnames
      in the DNS itself remains compatible with RFC 1123, the actual
      hostname presented to the resolver is in UTF8, and therefore the
      hostname in the URL and Host: header is also in UTF8.
      
      This change relaxes the checking so that only character sequences that
      are sensitive to the filesystem are rejected, i.e. forward slashes,
      backward slashes, and sequences of more than one dot.
      
      PR: 6635
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@86897 13f79535-47bb-0310-9956-ffa450edef68
      4a3f9b86
  2. 07 Nov, 2000 1 commit
  3. 06 Nov, 2000 4 commits
  4. 05 Nov, 2000 3 commits
  5. 04 Nov, 2000 4 commits
  6. 03 Nov, 2000 3 commits
  7. 02 Nov, 2000 4 commits
  8. 28 Oct, 2000 1 commit
  9. 23 Oct, 2000 3 commits
  10. 21 Oct, 2000 1 commit
  11. 20 Oct, 2000 1 commit
  12. 19 Oct, 2000 4 commits
  13. 18 Oct, 2000 1 commit
  14. 17 Oct, 2000 1 commit
  15. 14 Oct, 2000 3 commits
  16. 12 Oct, 2000 3 commits
  17. 10 Oct, 2000 2 commits