-
Notifications
You must be signed in to change notification settings - Fork 104
Open
Labels
Description
Describe the bug
Multiple links on query tips are expired
To Reproduce
echo '| URL | Expired | Location |'
echo '|-----|---------|----------|'
grep -oE 'https?://[^[:space:]"'\''<>]+' src/app/views/sidebar/sample-queries/queries.ts \
| sort | uniq | grep 'https://aka.ms/' \
| while read -r url; do
loc=$(curl -sI "$url" | awk -F': ' 'tolower($1)=="location"{print $2}' | tr -d '\r')
if echo "$loc" | grep -q 'https://www.bing.com'; then
expired=true
else
expired=false
fi
printf '| %s | %s | %s |\n' "$url" "$expired" "$loc"
done
All the entries with aka.ms returning location header with https://www.bing.com are expired or the shortlink has been removed
Expected behavior
There should not ne any expired links. Further testing should include checking status of the linked forms.
Notes
https://aka.ms/GroupsAPIFeedback and https://aka.ms/GroupsAPIFeedback. are not duplicate entries. On my browser e.g. browser includes dot on as a tag href.
Reactions are currently unavailable