comphist / cora

A web-based, token-level annotation tool for non-standard language data
http://www.linguistics.rub.de/comphist/resources/cora/
MIT License
10 stars 6 forks source link

Texts with titles containing comma can't be exported #93

Closed fpetran closed 7 years ago

fpetran commented 7 years ago

Attempting to export a text where the title contains a comma leads to ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION in Chrome. Haven't tested in other browsers but I expect that even if it works now, it won't work in future, since unquoted commas violate RFC 2616 (see https://bugs.chromium.org/p/chromium/issues/detail?id=103618, especially https://bugs.chromium.org/p/chromium/issues/detail?id=103618#c26).

Proposed fix: filename should be quoted in content header.