File:  [parser3project] / parser3 / tests / 193.html
Revision 1.5: download - view: text, annotated - select for diffs - revision graph
Wed Nov 20 21:14:04 2019 UTC (6 years, 6 months ago) by moko
Branches: MAIN
CVS tags: release_3_5_1, release_3_5_0, release_3_4_6, HEAD
test results updated as now base64 does not discard tail without padding (related to feature #986)

@main[][tString]
$tString[^table::create{sValue
pyAxOTczLiDV7uT/8iDx6/P16Cwg9/LuIKvH5evl7fvlIPDz6uDi4Lsg7eDv6PHg6yDx4OyF	OK
pyAxOTczLiDV7uT/8iDx6/P16Cwg9/LuIKvH5evl?7fvlIPDz6uDi4Lsg7eDv6PHg6yDx4OyF	Invalid base64-char '?' on position 40
pyAxOTczLiDV7uT/8iDx6/P16Cwg9/LuIKvH5ev	A part of correct base64-encoded string
R0lGODlhFAAUAIAAAP0gIP///yH5BAEAAAEALAAAAAAUABQAAAImjI+py+0PYwDygHslxnFv53lN KC5kmZwoon5Ky70wZcKjCpHVXhUAOw==	File 103mark.gif with \x00 char
pyA	An incorrect base64
	An empty string
}]

<table>
^tString.menu{
	<tr>
	<td>^try-catch{'^string:base64[$tString.sValue]'}</td>
	<td>^try-catch{'^string:base64[$tString.sValue;$.strict(true)]'}</td>
	</tr>
}
</table>

E-mail: