Skip to content
This repository was archived by the owner on Mar 16, 2023. It is now read-only.

Commit ecac29c

Browse files
committed
support jumbo secrets in local encryption
1 parent a7036fe commit ecac29c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pages/share/get.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
<?php
5151
}
5252
?>
53-
<script src="/resources/js/share.js?<?= $cache_value ?>" integrity="sha256-Az8eO3tKRtZRK9wLBD+T741jTm7HPwfc0I78/S0qGdw=" type="text/javascript"></script>
53+
<script src="/resources/js/share.js?<?= $cache_value ?>" integrity="sha256-JgwhPbFEIzq89yXPJxa5NkZsH8F5MtkCsQ/5sHwU+gg=" type="text/javascript"></script>
5454

5555
<?php
5656

resources/js/share.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
}
3636

3737
// check the length of the output
38-
if ((null != result) && (1024 >= result.length)) {
38+
if ((null != result) && (MAX_PARAM_SIZE >= result.length)) {
3939
document.getElementById("secret").value = result;
4040

4141
document.getElementById("share-secret-btn").disabled = false;

0 commit comments

Comments
 (0)