summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorLinda TJ <sameer.tuteja05@gmail.com>2025-03-20 11:22:12 +0100
committerGitHub <noreply@github.com>2025-03-20 11:22:12 +0100
commit34e9830dd399b6e068e41907def76a7e97653219 (patch)
tree90bf4711cdf302f0a8260f89d34f562d143c7da2 /plugins
parentf97e871c33da57d20e1b0411da6b1674126192a9 (diff)
downloadzsh-34e9830dd399b6e068e41907def76a7e97653219.tar.gz
zsh-34e9830dd399b6e068e41907def76a7e97653219.tar.bz2
zsh-34e9830dd399b6e068e41907def76a7e97653219.zip
fix(ranq-quote): use https for quote retrieval (#13021)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/rand-quote/rand-quote.plugin.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/rand-quote/rand-quote.plugin.zsh b/plugins/rand-quote/rand-quote.plugin.zsh
index 23c21dc8f..1eda54caa 100644
--- a/plugins/rand-quote/rand-quote.plugin.zsh
+++ b/plugins/rand-quote/rand-quote.plugin.zsh
@@ -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"')"