Opened 11 years ago
Last modified 9 years ago
#384 accepted defect
trailing dot in server_name
Reported by: | Sergey Kandaurov | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | nginx-core | Version: | 1.3.x |
Keywords: | Cc: | ||
uname -a: | |||
nginx -V: |
nginx version: nginx/1.5.3
built by clang 4.2 (clang-425.0.28) (based on LLVM 3.2svn) configure arguments: |
Description (last modified by )
nginx should treat server_name values with and without trailing dot as identical to each other. Thus, it shall warn and continue during configuration syntax check for the below snippet due to conflicting server_name.
server { server_name localhost; } server { server_name localhost.; }
Attachments (1)
Change History (4)
comment:1 by , 11 years ago
Description: | modified (diff) |
---|
by , 10 years ago
Attachment: | trailing-dot-in-server_name.patch added |
---|
comment:2 by , 10 years ago
comment:3 by , 9 years ago
Status: | new → accepted |
---|
Note:
See TracTickets
for help on using tickets.
Please have a look at trailing-dot-in-server_name.patch
it treat server_name values with trailing dot as invalid one.