DescriptionDocserver: Fix 3 issues relating to finding API references in sample files,
contributing to too-long database keys. Most importantly, match whole words
when doing variable name replacement, not just character sequences. Minified
files with variable names like "a" were exploding. Secondly, don't cache the
title of links in reference resolver, it's pointless and leading to even
longer database keys. Thirdly, truncate database keys to avoid crashing the
server from this ever again; log error instead.
BUG=314102
R=jyasskin@chromium.org
NOTRY=true
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=232856
Patch Set 1 #
Total comments: 10
Patch Set 2 : rebase, jeffrey #
Total comments: 4
Patch Set 3 : rebase #
Messages
Total messages: 8 (0 generated)
|