|
|
- tests for ^string:base64[encoded;$.strict(true)] are added
@main[][tString]
$tString[^table::create{sValue
pyAxOTczLiDV7uT/8iDx6/P16Cwg9/LuIKvH5evl7fvlIPDz6uDi4Lsg7eDv6PHg6yDx4OyF Correct
pyAxOTczLiDV7uT/8iDx6/P16Cwg9/LuIKvH5ev A part of correct base64
R0lGODlhFAAUAIAAAP0gIP///yH5BAEAAAEALAAAAAAUABQAAAImjI+py+0PYwDygHslxnFv53lN KC5kmZwoon5Ky70wZcKjCpHVXhUAOw== File 103mark.gif with \x00 char
AAn An incorrect base64
}]
<table>
^tString.menu{
<tr>
<td>^try-catch{'^string:base64[$tString.sValue]'}</td>
<td>^try-catch{'^string:base64[$tString.sValue;$.strict(true)]'}</td>
</tr>
}
</table>