You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
wrong extracted data when fetching image link behind redirect #524
when fetching an image link that's behind redirect, the extracted embed info contains no usable info or html for embedding.
the crawler seems to be following redirects fine, but the extracted data wan't updated to reflect the new contents at the redirected location.
not sure if this also apply to other embed resource links.
rough setup/test script
# nginx test server configurationserver{listen10.110.37.5:8888;server_name localhost;location~ ^/301/(.*)$ {return301 /$1;}location~ ^/302/(.*)$ {return302 /$1;}location / { # put an image named 'hug.jpeg' in hereroot /var/www/redir;}}
Hi @asdfzdfj, PR #589 should fix this: images detected by content type now use the final URL after redirects.
You can test it with composer require embed/embed:dev-fix/4.5.5. We will leave the PR open for a few days before releasing 4.5.5, so any feedback is very welcome!
Activity
Vitorinox commentedon Oct 31, 2026
Hi @asdfzdfj, PR #589 should fix this: images detected by content type now use the final URL after redirects.
You can test it with
composer require embed/embed:dev-fix/4.5.5. We will leave the PR open for a few days before releasing 4.5.5, so any feedback is very welcome!