Closed Bug 1509140 Opened 7 years ago Closed 7 years ago

Sending/copying this URL trims trailing "-16470894"

Categories

(Firefox for iOS :: General, enhancement, P2)

Other
iOS
enhancement

Tracking

()

RESOLVED FIXED
Tracking Status
fxios 15.0 ---

People

(Reporter: overholt, Assigned: justindarc)

References

()

Details

https://me.me/i/savage-department-randy-speaking-none-16470894 Sharing it via iMessage or copying the URL or even sending to my desktop, it always ends up trimming it to become https://me.me/i/savage-department-randy-speaking-none which isn't correct. iOS 12.1, Firefox for iOS Beta (14.0, build 12646)
Priority: -- → P2
So, when we grab the URL for sending to external applications, we use the canonical URL from the page metadata (if exists). In the above example, it looks like the website is supplying an invalid URL: ``` <meta property="og:url" content="http://me.me/i/savage-department-randy-speaking-none"/> ``` So, that's where the wrong URL is coming from :-/ It is arguable whether or not we should do this though or if we should just always use the URL as-is. I believe this was originally done to avoid sharing AMP links to desktop.
I'm going to take this bug and change our logic to only grab the `og:url` from the page metadata for AMP pages ONLY. All other sites, we should just grab the URL from the address bar as-is.
Assignee: nobody → jdarcangelo
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.