erotix / phone2chrome

Automatically exported from code.google.com/p/phone2chrome
0 stars 0 forks source link

Query strings ignored #18

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. On Phone, share URL with query string with Phone2Chrome). Example: 
http://www.iolproperty.co.za/view-property.jsp?PID=4064261
2. Retrieve the links in Chrome browser on PC.

Notice that the query string (?PID=4064261) is ignored and the page opens 
incorrectly.

Original issue reported on code.google.com by igi...@gmail.com on 8 Jan 2013 at 2:23

GoogleCodeExporter commented 8 years ago
The last link I saw before they all stopped appearing showed this problem. The 
file itself is wrong:
{
date: 1375679823469,
url: "http://www.youtube.com/watch",
title: "http://www.youtube.com/watch"
},

The video identifier didn't get recorded, so I just go to the top of YouTube. 
It should say:

http://www.youtube.com/watch?v=E3kZRmea-JA

Original comment by LorenAme...@gmail.com on 6 Aug 2013 at 5:37

GoogleCodeExporter commented 8 years ago
I don't know what you mean.

Original comment by igi...@gmail.com on 6 Aug 2013 at 8:26

GoogleCodeExporter commented 8 years ago
@igi - I'm another user, reporting the same bug as you. I just noticed the same 
issue mentioned in #17:
-----
There is one more quirk, particular to the link I was trying to share.  The 
link I was trying to share from inside an email was the link to this code issue 
page.  The full URL should be:

http://code.google.com/p/phone2chrome/issues/detail?id=17

However, when opening it from the email using Phone2Chrome (to send to my 
desktop), it will only write:

http://code.google.com/p/phone2chrome/issues/detail

to the shared dropbox file it seems (?id=17 is cut off).
-----

Looks like the phone mechanism that writes to the Dropbox file cuts off URLs at 
a '?'. But only a few of them! My YouTube example is surrounded in my "pages" 
file by links with intact '?' tags. Of about 100 entries, 30 include a '?', and 
only two I'm aware of dropped the '?'. But it makes those two pretty useless. 

Original comment by LorenAme...@gmail.com on 6 Aug 2013 at 8:06

GoogleCodeExporter commented 8 years ago
Now I have the opposite problem! The URL field is getting too much information:

    {
      "date": 1400691713468,
      "url": "http:\/\/arxiv.org\/abs\/1405.3760 | PIN Skimming: Exploiting the Ambient-Light Sensor in Mobile Devices\narxiv.org\/abs\/1405.3760 \n#WTF",
      "title": "Tweet from @semibogan : "
    },
    {
      "date": 1400692884424,
      "title": "Tweet from @emilycrockett : ",
      "url": "http:\/\/t.co\/miIcTi7leY | This is really just the best thing. What if we admitted to our children that sex is about pleasure? t.co\/miIcTi7leY"
    }

The human readable title of the linked site is going into the URL field, 
followed by a repeat of part of the URL. Obviously Chrome can't go there... 

Those two links are from the Falcon Pro Android Twitter client. 

But it also happens from Plume:

    {
      "date": 1399218379215,
      "url": "This spectacularly smart infographic uses #irony to promote the idea of #rainforest #biodiversity #conservation http:\/\/twitter.com\/FisherSpeaks\/status\/461217225660039168\/photo\/1\n\nhttps:\/\/twitter.com\/FisherSpeaks\/status\/461217225660039168\n\nShared via Plume\nhttp:\/\/bit.ly\/GetPlume",
      "title": "Tweet from Chris Fisher (@FisherSpeaks)"
    },

This looks like the first occurrence of this problem for me:
Thu, 17 Apr 2014 17:10:58 GMT
    {
      "date": 1397754658317,
      "title": "Check this picture",
      "url": "http:\/\/pbs.twimg.com\/media\/BlbJSsLCAAEhu00.jpg:medium\nFrom this tweet:\nBanksy back in action: huff.to\/1jMZM97 pic.twitter.com\/sS4JxDuouZ"
    },

Did the code change about then? 

Original comment by LorenAme...@gmail.com on 21 May 2014 at 7:29