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

Submitted by:  Thomas Uxiou <uxiou>
Submitted on:  Wed 08 Apr 2009 09:48:10 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned 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>
Project 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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 14 Apr 2009 07:52:53 PM UTCradekpOpen/ClosedOpen=>Closed
    Thu 09 Apr 2009 04:37:35 AM UTCbrubbelStatusNone=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup1