Project

General

Profile

Actions

Bug #838

closed

mod_evhost does not handle trailing "." in hostname

Added by Anonymous about 18 years ago. Updated about 17 years ago.

Status:
Fixed
Priority:
High
Category:
mod_evhost
Target version:
ASK QUESTIONS IN Forums:

Description

While it can be -- and frequently is -- omitted, absolute domain names include a trailing dot (see RFC 1034, section 3.1). However, setting evhost.path-pattern to "/%0" and making a request for "http://example.com./" attempts to access the directory "/com./" rather than "/example.com/".

-- zak.johnson


Files

mod_evhost.patch (479 Bytes) mod_evhost.patch patch -- zak.johnson Anonymous, 2006-09-03 18:22
Actions #1

Updated by Anonymous about 18 years ago

Until the patch is accepted, it is possible to use "/%2.%1" as a workaround.

-- zak.johnson

Actions #2

Updated by darix about 18 years ago

the general patch would be stripping the trailing dot much earlier i have that on my todo. but i either need to backport it to the 1.4.x branch or wait for jan to fix trunk. but atm the patch is broken due broken trunk.

Actions #3

Updated by jan about 17 years ago

  • Status changed from New to Fixed
  • Resolution set to fixed

r1406 in 1.4.14 should have fixed this issue already.

Actions

Also available in: Atom