Skip to content

Commit

Permalink
fix: Missing commit
Browse files Browse the repository at this point in the history
  • Loading branch information
richtera committed Jan 5, 2024
1 parent 5c8f228 commit a3dd604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/encoder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ const decodeDataSourceWithHash = (value: string): URLDataWithHash => {

try {
const dataSource = hexToUtf8('0x' + encodedData); // Get as URI
if (encodedData.length < 64 || /^[a-z]{2,}:/.test(dataSource)) {
if (encodedData.length < 64 || /^[a-z]{2,}:[/\S]/.test(dataSource)) {
return {
verification: {
method: NONE_VERIFICATION_METHOD,
Expand Down

0 comments on commit a3dd604

Please sign in to comment.