Bug 66768 - Getting wrong Hash value in twitter
Summary: Getting wrong Hash value in twitter
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: 523.x (Safari 3)
Hardware: Android Android
: P1 Major
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-23 05:43 PDT by harish4pals
Modified: 2011-08-24 02:03 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description harish4pals 2011-08-23 05:43:28 PDT
Login to twitter->Select Profile->Select profile image

Result: Redirected to a page which says "Sorry, that page doesn't exist"

After debugging on the live script found that _hash value is not coming properly from the twitter script.

Initial page - "https://mobile.twitter.com" After selecting Profile - "https://mobile.twitter.com/#!/waptdpt" (waptdpt is the username) After selecting the Profile pic - Expected URL is https://mobile.twitter.com/#!/waptdpt/photo Resultant URL is https://mobile.twitter.com/#!/https://mobile.twitter.com/waptdpt/photo

After # the hash value has to be

    !/waptdpt/photo

. But in my case it is returning

!/https://mobile.twitter.com/waptdpt/photo

And hence i am being redirected to a wrong page.
Comment 1 Alexey Proskuryakov 2011-08-23 11:52:31 PDT
This doesn't happen in ToT WebKit, even when using the mobile Twitter site with iPhone user agent. So, this is either an Android bug, or a Twitter bug that only happens with Android.

Since Android WebKit is currently not built directly from webkit.org sources, we cannot track this issue here, closing as INVALID per our policy.
Comment 2 Steve Block 2011-08-24 02:03:29 PDT
Filed an Android bug at http://code.google.com/p/android/issues/detail?id=19505