mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-05-28 10:52:19 -04:00
extracting only the 16 hex characters of the query string as paste ID, addressing #396
This commit is contained in:
parent
cc53d95ed1
commit
79a858f176
5 changed files with 7 additions and 5 deletions
|
@ -16,7 +16,7 @@ describe('Prompt', function () {
|
|||
'string',
|
||||
function (password) {
|
||||
password = password.replace(/\r+/g, '');
|
||||
var clean = jsdom('', {url: 'ftp://example.com/?0'});
|
||||
var clean = jsdom('', {url: 'ftp://example.com/?0000000000000000'});
|
||||
$('body').html(
|
||||
'<div id="passwordmodal" class="modal fade" role="dialog">' +
|
||||
'<div class="modal-dialog"><div class="modal-content">' +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue