8008629: webrev.ksh needs to quote bug title it gets back from scraping bugs.sun.com

Reviewed-by: darcy
This commit is contained in:
Mike Duigou 2013-02-20 17:56:16 -08:00
parent 416b8fa159
commit debd718fc1

View File

@ -3023,7 +3023,7 @@ if [[ -n $CRID ]]; then
cleanup='s|\[#\(JDK-[0-9]\{5,\}\)\] \(.*\)|\1 : \2|'
fi
if [[ -n $WGET ]]; then
msg=`$WGET --timeout=10 --tries=1 -q $url -O - | grep '<title>' | sed 's/<title>\(.*\)<\/title>/\1/' | sed "$cleanup"`
msg=`$WGET --timeout=10 --tries=1 -q $url -O - | grep '<title>' | sed 's/<title>\(.*\)<\/title>/\1/' | sed "$cleanup" | html_quote`
fi
if [[ -z $msg ]]; then
msg="${id}"