@@ -82,7 +82,10 @@
Loading
82 82
					{
83 83
						if (enumerator.StepOverTo(TokenType.Value, TokenType.FieldValueDelimiter))
84 84
						{
85 -
							parseState.UserAgents.Add(enumerator.Current.Value);
85 +
							//NOTE: Doesn't evaluate the strict "agent" definition in Section 4 of RFC
86 +
							//		While trimming the value avoids some issues, it isn't a char-for-char accurate
87 +
							//		interpretation of the RFC and thus, is limited.
88 +
							parseState.UserAgents.Add(enumerator.Current.Value.Trim());
86 89
						}
87 90
					}
88 91
					else if (comparer.Equals(fieldValue, AllowField) || comparer.Equals(fieldValue, DisallowField))
@@ -92,7 +95,9 @@
Loading
92 95
93 96
						if (enumerator.StepOverTo(TokenType.Value, TokenType.FieldValueDelimiter))
94 97
						{
95 -
							pathValue = enumerator.Current.Value;
98 +
							//NOTE: As with the User-agent values, this doesn't evaluate the "strict" definition in the RFC
99 +
							//		Paths have specific limitations about characters that are and aren't allowed
100 +
							pathValue = enumerator.Current.Value.Trim();
96 101
						}
97 102
98 103
						if (pathRule == PathRuleType.Allow && string.IsNullOrEmpty(pathValue))
Files Coverage
src/TurnerSoftware.RobotsExclusionTools 96.07%
Project Totals (22 files) 96.07%

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading