bugDotGNU Portable.NET - Bugs: bug #26122, new...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #26122: new Uri("http://4gr.net") fails

Submitter:  Thomas Uxiou <uxiou>
Submitted:  Wed 08 Apr 2009 09:48:10 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Tue 14 Apr 2009 07:52:53 PM UTC, comment #1: 

The fix should be now commited in CVS, so closing this bug.

Thanks for report and fix.

Radek

Radek Polak <radekp>
Group Member
Wed 08 Apr 2009 09:48:10 PM UTC, original submission:  

Every domain name where at least one label starts with a number ("0" - "9") is rejected by System,Uri.

Cause:
Uri.cs : IsDnsName
| if(tok.Length==0 || !Char.IsLetter(tok[0])) return false;

should be

| if(tok.Length==0 || !Char.IsLetterOrDigit(tok[0])) return false;

sample domains: 4gr.net, 88.cn,

Thomas Uxiou <uxiou>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by radekp (Posted a comment)
  • -email is unavailable- added by brubbel (Updated the item)
  • -email is unavailable- added by uxiou (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-04-14 radekp Open/ClosedOpen Closed
    2009-04-09 brubbel StatusNone Fixed

    Back to the top

    Powered by Savane 3.12