file chooser: relax extension pattern to allow query/hash after extension (check for ?/#) (#171)

bump to 1.7.15
This commit is contained in:
Ilya Kreymer
2023-05-12 13:52:33 +02:00
committed by GitHub
parent f4da4051eb
commit c7adbdeb0c
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -217,7 +217,7 @@ class Chooser extends LitElement
<p class="control is-expanded">
<input class="file-name input" type="text"
name="filename" id="filename"
pattern="((file|http|https|ipfs|s3):\/\/.*\.(warc|warc.gz|zip|wacz|har|wbn|json))|(googledrive:\/\/.+)|(ssb:\/\/.+)"
pattern="((file|http|https|ipfs|s3):\/\/.*\.(warc|warc.gz|zip|wacz|har|wbn|json)([?#].*)?)|(googledrive:\/\/.+)|(ssb:\/\/.+)"
.value="${this.fileDisplayName}"
@input="${this.onInput}"
autocomplete="off"