Skip to content

Commit

Permalink
WAErrorHandler should set charSet
Browse files Browse the repository at this point in the history
- fixes #998
  • Loading branch information
marschall committed Sep 8, 2018
1 parent c042a62 commit 9ac6856
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ handleDefault: anException
self requestContext respond: [ :response |
response
internalError;
contentType: WAMimeType textHtml;
contentType: (WAMimeType textHtml
charset: self requestContext charSet;
yourself);
nextPutAll: (self rendererClass builder
fullDocument: true;
rootBlock: [ :root | self updateHtmlRoot: root forException: anException ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"rendererClass" : "as 2/6/2011 22:05",
"updateHtmlRoot:forException:" : "jf 8/31/2009 19:58",
"renderContentForException:on:" : "jf 11/10/2008 10:04",
"handleDefault:" : "jf 8/31/2009 19:56",
"handleDefault:" : "pmm 9/8/2018 16:58",
"titleForException:" : "jf 9/14/2008 20:28"
},
"class" : { }
Expand Down

0 comments on commit 9ac6856

Please sign in to comment.