"0" is not a valid base58 encoding as leading zeros are trimmed, "1" is valid and decodes to 0x00

This commit is contained in:
El RIDO 2025-07-21 12:29:11 +02:00
parent 734b85eb08
commit 4daf0a2307
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92

View file

@ -731,7 +731,7 @@ describe('TopNav', function () {
it(
'displays raw text view correctly',
function () {
const clean = jsdom('', {url: 'https://privatebin.net/?0123456789abcdef#0'});
const clean = jsdom('', {url: 'https://privatebin.net/?0123456789abcdef#1'});
$('body').html('<button id="rawtextbutton"></button>');
const sample = 'example';
$.PrivateBin.PasteViewer.setText(sample);