Skip to content

Commit

Permalink
added new 0158-WebUI-Fix-SysProtocolCharEncoding bugfix patch which f…
Browse files Browse the repository at this point in the history
…ixes escape issues in the system protocol display when sysvars contain ' characters #1585 (#1586)

Co-authored-by: Jens Maus <mail@jens-maus.de>
  • Loading branch information
jp112sdl and jens-maus authored Dec 8, 2021
1 parent afc9230 commit 6afdaee
Show file tree
Hide file tree
Showing 3 changed files with 1,941 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--- occu/WebUI/www/rega/esp/functions.fn.orig
+++ occu/WebUI/www/rega/esp/functions.fn
@@ -58,6 +58,7 @@
sRet = sRet.Replace("\r\n", "<br/>");
sRet = sRet.Replace("\r", "<br/>");
sRet = sRet.Replace("\n", "<br/>");
+ sRet = sRet.Replace("'", "\\'");
}
if( to.ValueUnit() != "" )
{
Loading

0 comments on commit 6afdaee

Please sign in to comment.