[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libvir] [PATCH] Fix escaping of '<' in virBufferEscapeString



"Richard W.M. Jones" <rjones redhat com> wrote:
> < is currently escaped as &ll;
>
> I'm guessing it should be &lt;
...
>          if (*cur == '<') {
>  	    *out++ = '&';
>  	    *out++ = 'l';
> -	    *out++ = 'l';
> +	    *out++ = 't';
>  	    *out++ = ';';
>  	} else if (*cur == '>') {
>  	    *out++ = '&';

Looks obviously right to me.  +1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]