stable

Clone or download

Read-only

request #11552 Pullrequest file diff must deal with ISO-8859-1 files

Windows encoded files (ISO-8859-1) generates a fatal error in REST because the provided json content is not UTF-8. The diff representation now converts non UTF-8 lines into UTF-8. This will certainly not handle all the cases, but it seems to be good enough. Change-Id: Iade6819f200b6b85ade388b6ade33b836bc2600e

Modified Files

Name
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestFileUniDiffRepresentation.php +4 −3 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestLineUniDiffRepresentation.php +12 −3 Go to diff View file