Ticket #838 (closed defect: fixed)

Opened 2 years ago

Last modified 13 months ago

mod_evhost does not handle trailing "." in hostname

Reported by: zak.johnson@… Owned by: jan
Priority: high Milestone: 1.4.15
Component: mod_evhost Version: 1.4.11
Severity: major Keywords:
Cc: Blocked By:
Need User Feedback: no Blocking:

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/".

Attachments

mod_evhost.patch (479 bytes) - added by zak.johnson@… 2 years ago.
patch

Change History

Changed 2 years ago by zak.johnson@…

patch

Changed 2 years ago by zak.johnson@…

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

Changed 2 years ago by darix

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.

Changed 13 months ago by jan

  • status changed from new to closed
  • resolution set to fixed
  • pending unset
  • milestone set to 1.4.15

[1406] in 1.4.14 should have fixed this issue already.

Add/Change #838 (mod_evhost does not handle trailing "." in hostname)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.