]> git.p6c8.net - devedit.git/blobdiff - modules/Output.pm
"Revert" sounds better than "discard"
[devedit.git] / modules / Output.pm
index 9ef361c8c926e5f940a2a8a1fce2832b35d88066..cd4e53eaeda032a001e01c18863ed62d6f9c20cb 100644 (file)
@@ -60,7 +60,7 @@ sub error($;$$)
  $tpl->read_file($tpl_error);
 
  $tpl->fillin('ERROR',$message);
- $tpl->fillin('BACK',$path);
+ $tpl->fillin('BACK',encode_html($path));
  $tpl->fillin('BACK_URL',escape($path));
  $tpl->fillin('SCRIPT',encode_html($ENV{'SCRIPT_NAME'}));
 

patrick-canterino.de