s4

changeset 769:f86dac0373b9

Escape $gecos in showhome()
author HIROSE Yuuji <yuuji@gentei.org>
date Mon, 08 Jun 2020 20:14:01 +0900
parents 891f1f5a8153
children c06c2df8a25a dc5c2a03cb7a
files s4-funcs.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/s4-funcs.sh	Mon Jun 08 20:07:56 2020 +0900
     1.2 +++ b/s4-funcs.sh	Mon Jun 08 20:14:01 2020 +0900
     1.3 @@ -2090,7 +2090,7 @@
     1.4  
     1.5    tf=$tmpd/title.$$ pf=$tmpd/profile.$$ bf=$tmpd/blogs.$$ sf=$tmpd/search.$$
     1.6    search_form "$search_form_args"	> $sf
     1.7 -  printf "%s さん" "$gecos"		> $tf
     1.8 +  printf "%s さん" "$gecos"|htmlescape	> $tf
     1.9    { echo "<div class=\"noprofimg\">"
    1.10      viewtable $formdir/user.def user $1
    1.11      echo "</div>"