#3681: Cannot use IPv6 literal address in IMAP/POP3 URL
--------------------------+----------------------
  Reporter:  evgeni       |      Owner:  kevin8t8
      Type:  enhancement  |     Status:  assigned
  Priority:  minor        |  Milestone:
 Component:  mutt         |    Version:
Resolution:               |   Keywords:
--------------------------+----------------------

Comment (by kevin8t8):

 After thinking about it some more, I don't think it's correct to leave the
 "[]" delimiters in the ciss.host field.

 The reason this was done is because mutt converts it back and forth
 between a URL string, so instead the delimiters were removed inside
 raw_socket_open.  However there are other places in the code that use the
 host field, and they shouldn't all have the responsibility of stripping
 the "[]" off.

 I'm attaching v2 patch that removes the delimiter inside
 ciss_parse_userhost() but puts them back on inside url_ciss_tostring() if
 the host name contains a ':'.  This version of the patch therefor doesn't
 need to touch raw_socket_open().

--
Ticket URL: <https://dev.mutt.org/trac/ticket/3681#comment:5>
Mutt <http://www.mutt.org/>
The Mutt mail user agent

Reply via email to