Skip to content

Commit

Permalink
Handle https protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
RealEnder committed Apr 8, 2018
1 parent 36314a6 commit cbcaa2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/create_gz.sh
Expand Up @@ -4,7 +4,7 @@ echo "Compress dictionaries(*.txt) in current dir and create inserts for dwpa"

# get base URL
URL=""
REGEX="http://[-A-Za-z0-9+/%~_!.]*/"
REGEX="https?://[-A-Za-z0-9+/%~_!.]*/"
while [[ ! $URL =~ $REGEX ]]
do
read -p "Enter base URL for dict with trailing /: " URL
Expand Down

0 comments on commit cbcaa2e

Please sign in to comment.