mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-02 07:56:05 +02:00
fix(ranq-quote): use https for quote retrieval (#13021)
This commit is contained in:
1 parent
f97e871c33
commit
34e9830dd3
1 file changed
+1
-1
@@ -8,7 +8,7 @@ function quote {
|
||||
|
||||
# Get random quote data
|
||||
local data
|
||||
data="$(command curl -s --connect-timeout 2 "http://www.quotationspage.com/random.php" \
|
||||
data="$(command curl -s --connect-timeout 2 "https://www.quotationspage.com/random.php" \
|
||||
| iconv -c -f ISO-8859-1 -t UTF-8 \
|
||||
| command grep -a -m 1 'dt class="quote"')"
|
||||
|
||||
|
||||
Reference in new issue
Block a user