nager / Nager.PublicSuffix

.NET public suffix domain parser
MIT License
155 stars 22 forks source link

System.FormatException: 'Rule contains empty part' #40

Closed darkoudeas closed 4 years ago

darkoudeas commented 4 years ago

Hi,

Using the default example provided (Loading data from web change cache config), in line WebTldRuleProvider.BuildAsync().GetAwaiter().GetResult();

I get the following exception

System.FormatException: 'Rule contains empty part'

This exception was originally thrown at this call stack: Nager.PublicSuffix.TldRule.TldRule(string, Nager.PublicSuffix.TldRuleDivision) Nager.PublicSuffix.TldRuleParser.ParseRules(System.Collections.Generic.IEnumerable) Nager.PublicSuffix.TldRuleParser.ParseRules(string) Nager.PublicSuffix.WebTldRuleProvider.BuildAsync() System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

Thanks for any help, Dimosthenis

tinohager commented 4 years ago

Sorry for the late answer, i have try it but i have no error, is the problem still relevant to you