提交 24517424 编写于 作者: B Benjamin Pasero 提交者: GitHub

Merge pull request #23268 from michelkaporin/url-length

Characters Limit for 'Report Issue' Extensions Listing
......@@ -730,6 +730,12 @@ Steps to Reproduce:
return `|${e.manifest.name}|${e.manifest.publisher}|${e.manifest.version}|`;
}).join('\n');
// 2000 chars is browsers de-facto limit for URLs, 250 chars is allowed for other string parts of the issue URL
// http://stackoverflow.com/questions/417142/what-is-the-maximum-length-of-a-url-in-different-browsers
if (tableHeader.length + table.length > 1750) {
return 'the listing exceeds the lower minimum of browsers\' URL characters limit';
}
return `
${tableHeader}\n${table};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册