monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] [bug #31106] 'localhost:port?branch' not accepted as ne


From: Thomas Keller
Subject: [Monotone-devel] [bug #31106] 'localhost:port?branch' not accepted as netsync URI
Date: Fri, 24 Sep 2010 10:36:23 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100723 SUSE/3.6.8-0.1.1 Firefox/3.6.8

Follow-up Comment #4, bug #31106 (project monotone):

Actually not, because I remember I did set a default there, but apparently
this only works for URLs without port specification. See
network/connection_info.cc line 250. For "localhost:123" localhost is
apparently wrongly assumed as scheme and not as host and thus the
scheme.empty() check fails there.

We could certainly change the parse_uri() implementation in uri.cc line 114ff
here a bit to check whether a slash follows the colon and only then recognize
it as scheme (line 118).

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?31106>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]