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
I expect the url field to show what's in the browser address bar after the page loads. If following the link in my browser preserves the fragment, so should Microlink.
Additional context/Screenshots
This is a problem for my use case: I use the url field to get a canonical link to show users, since it resolves HTTPS redirects, shortlinks, etc.
I can't do that if the url field strips out important data (text highlights, or which part of the page is being linked to).
The text was updated successfully, but these errors were encountered:
Kikobeats
changed the title
Meta API url field strips fragment identifier from URL
prerender: The url is triming the fragment under prerender
Nov 11, 2024
unfortunately what we need is response.url() with is the same than request.url() and currently they are not exposing the fragment, but they are working into it!
Bug Report
Current Behavior
When saving a URL that includes a fragment identifier, the meta API
url
response field strips out any fragment identifier that was in the original URLIn: https://example.com/#hello
Out: https://example.com/
Expected behavior/code
I expect the
url
field to show what's in the browser address bar after the page loads. If following the link in my browser preserves the fragment, so should Microlink.Additional context/Screenshots
This is a problem for my use case: I use the
url
field to get a canonical link to show users, since it resolves HTTPS redirects, shortlinks, etc.I can't do that if the
url
field strips out important data (text highlights, or which part of the page is being linked to).The text was updated successfully, but these errors were encountered: