[Pidgin] #10210: Pidgin ignores service names

Pidgin trac at pidgin.im
Fri Sep 11 12:30:03 EDT 2009


#10210: Pidgin ignores service names
----------------------+-----------------------------------------------------
 Reporter:  scarpe01  |        Owner:              
     Type:  defect    |       Status:  pending     
Milestone:            |    Component:  pidgin (gtk)
  Version:  2.6.1     |   Resolution:              
 Keywords:  services  |  
----------------------+-----------------------------------------------------
Changes (by scarpe01):

  * status:  pending => new


Comment:

 Doing a little searching, I have found other developers at least see this
 as an error. From the nautilus source code:
         /* now read the port, starts with : */
         tmp = strchr (uri, ':');
         if (tmp != NULL) {
                 *tmp++ = '\0';
                 *port = atoi (tmp);  /*FIXME: getservbyname*/
         }
 According to this error code description:
 http://seer.entsupport.symantec.com/docs/297801.htm

 Netbackup uses it under both Unix flavors and Windows.

 Frankly, I just can't think of a scenario where doing this will be harmful
 or incorrect. Why does the fact that many other GUI programmers have
 forgotten that this is what a well behaved program does mean that pidgin
 should follow suit and NOT do the right thing ahead of the pack?
 Again, if someone puts text into the port field, what else could they
 possibly want? Even if it was accidentally entered... well, an
 accidentally added number wont be rejected as is? How is this so
 different?

-- 
Ticket URL: <http://developer.pidgin.im/ticket/10210#comment:5>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list