Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in comment (URF-8 -> UTF-8) #14

Merged
merged 1 commit into from Jul 11, 2019
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

@@ -385,7 +385,7 @@ void RobotsTxtParser::Parse() {
// Certain browsers limit the URL length to 2083 bytes. In a robots.txt, it's
// fairly safe to assume any valid line isn't going to be more than many times
// that max url length of 2KB. We want some padding for
// URF-8 encoding/nulls/etc. but a much smaller bound would be okay as well.
// UTF-8 encoding/nulls/etc. but a much smaller bound would be okay as well.
// If so, we can ignore the chars on a line past that.
const int kMaxLineLen = 2083 * 8;
// Allocate a buffer used to process the current line.
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.