if the input string includes null-terminator and result is converted to
hex or percentage encoding it will contain characters it should not
This reverts commit 1d0f3d39f0.
while it seemed logical to stop processing if there are no braces after
the token, the moc generator does not generate proper output if it is done
which means that I'm missing something from the big picture
upstream commits:
96611a677f
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
this change is basicly improved (I believe) version of the upstream change:
96611a677f
It was in no way inspired from it but I note the change as usual
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>