Torsten2217 / google-plus-platform

Automatically exported from code.google.com/p/google-plus-platform
0 stars 0 forks source link

URLs with URL-encoded (%20,...) parameters can't be added to History #321

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to submit a URL to the History API which included some URL-encoding
f.e. 
https://www.foldedsoft.at/plus/history/thing.php?title=123&description=23%214

What is the expected output? What do you see instead?
This should add an entry at https://plus.google.com/history
but it doesn't.

The History API returns a successful state though with the following response:
{
  "kind": "plus#moment",
  "verb": {
    "url": "https://schemas.google.com/AddAction"
  },
  "target": {
    "kind": "plus#itemScope",
    "id": "https://www.foldedsoft.at/plus/history/thing.php?title=123&description=23!4",
    "description": "23!4",
    "image": "http://life.scarygami.net/images/dailyshoot.jpg",
    "name": "123",
    "url": "https://www.foldedsoft.at/plus/history/thing.php?title=123&description=23!4"
  },
  "result": {
    "kind": "plus#itemScope"
  }
}

Original issue reported on code.google.com by scaryg...@gmail.com on 22 Jul 2012 at 4:06

GoogleCodeExporter commented 9 years ago

Original comment by baconate...@gmail.com on 9 Aug 2012 at 11:46

GoogleCodeExporter commented 9 years ago
This goes beyond URL encoding. I have a URL that does not have the percent 
encoding, but does have the + replacing the spaces and some other non-alphanum 
characters, and it continues to not add an entry.  Or this could be a red 
herring. URL:
http://d.prisoner.com/plus/tttt/showGame.jsp?moves=b0r0c0+b0r2c0+b0r1c1+b1r2c1+b
0r2c2+b2r2c2+b0r3c3&nameX=Allen+Firstenberg&nameY=Michael+Banks&imageX=https://l
h5.googleusercontent.com/-RDndFau_En4/AAAAAAAAAAI/AAAAAAAAAAA/ip8aSJEwFtI/s96-c/
photo.jpg&imageY=https://lh3.googleusercontent.com/-Cw79j0llJEw/AAAAAAAAAAI/AAAA
AAAAAAA/WuOACn35GU8/s96-c/photo.jpg&idX=101852559274654726533&idY=11530569047484
6852139&timeStart=1345076536840&timeEnd=1345076642139&winner=b0r0c0

Original comment by Prison4...@gmail.com on 16 Aug 2012 at 12:33