Docserver: 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 Review URL: https://codereview.chromium.org/55913003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232856 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment