My Cats Email Links Fail on iPhone

A historical forum for issues reported in the suggestions and bugs forum that have been subsequently fixed or resolved.
Post Reply
User avatar
Martin S
Posts: 2074
Joined: Wed Mar 26, 2003 11:14 am
I've donated: $20.00!
My images: 9
My cats species list: 90 (i:0, k:0)
Spotted: 17
Location 1: Guildford, Surrey
Location 2: UK
Interests: Aquatics

My Cats Email Links Fail on iPhone

Post by Martin S »

Hi
I received an email today listing all the cats I keep and asking to specify edits, no change or stop keeping. But if I click on the no change link I get the attached error:
Image
Should I do this on the PC?

Not a bug, but a related question - this also made me wonder about how I can record updates in size - I'm waiting on a new tank and will plan to catch, photograph and measure each fish to see how they have grown - is there any way to record this apart from notes?

Thanks
Martin
~~~~<"))))<~~~~
User avatar
Jools
Expert
Posts: 15202
Joined: Mon Dec 30, 2002 3:25 pm
My articles: 193
My images: 914
My catfish: 239
My cats species list: 89 (i:0, k:6)
My aquaria list: 2 (i:2)
My BLogs: 7 (i:5, p:194)
My Wishlist: 20
Spotted: 985
Location 1: M8
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: My Cats Email Links Fail on iPhone

Post by Jools »

Hmmm, that's interesting. Can you forward the email to me (webmaster at planetcatfish dot com)?

Somewhere on it's journey through cyberspace, the space character between the n and the S in your username has gone missing.

Will look into it...

Cheers,

Jools
User avatar
Jools
Expert
Posts: 15202
Joined: Mon Dec 30, 2002 3:25 pm
My articles: 193
My images: 914
My catfish: 239
My cats species list: 89 (i:0, k:6)
My aquaria list: 2 (i:2)
My BLogs: 7 (i:5, p:194)
My Wishlist: 20
Spotted: 985
Location 1: M8
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: My Cats Email Links Fail on iPhone

Post by Jools »

Oh, and on the size thing, when editing my cats you can update the sizes...

Jools
User avatar
Martin S
Posts: 2074
Joined: Wed Mar 26, 2003 11:14 am
I've donated: $20.00!
My images: 9
My cats species list: 90 (i:0, k:0)
Spotted: 17
Location 1: Guildford, Surrey
Location 2: UK
Interests: Aquatics

Re: My Cats Email Links Fail on iPhone

Post by Martin S »

Jools wrote:Hmmm, that's interesting. Can you forward the email to me (webmaster at planetcatfish dot com)?

Somewhere on it's journey through cyberspace, the space character between the n and the S in your username has gone missing.

Will look into it...

Cheers,

Jools
Will do.
Jools wrote:Oh, and on the size thing, when editing my cats you can update the sizes...
OK thanks - I guess I was just considering being able to see the growth rate since adding - maybe I'll jot the before and after down as I add.

Thanks again

Martin
User avatar
Jools
Expert
Posts: 15202
Joined: Mon Dec 30, 2002 3:25 pm
My articles: 193
My images: 914
My catfish: 239
My cats species list: 89 (i:0, k:6)
My aquaria list: 2 (i:2)
My BLogs: 7 (i:5, p:194)
My Wishlist: 20
Spotted: 985
Location 1: M8
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: My Cats Email Links Fail on iPhone

Post by Jools »

This is just a note to myself, so apologies for the techno mumbo-jumbo.

Code: Select all

<br /><img class='dropshadow' src='http://www.planetcatfish.com/images/thumb(l)/doradidae/hassar/orestis/1.jpg' title='Hassar orestis' alt='Hassar orestis' /><br /><em>Hassar</em> <em>orestis</em> - <a href='http://www.planetcatfish.com/common/my_fish.php?task=edit&id=32685&species_id=39&username=Martin S'>edit</a>, <a href='http://www.planetcatfish.com/common/my_fish.php?task=touch&id=32685&species_id=39&username=Martin S'>no change</a> or <a href='http://www.planetcatfish.com/common/my_fish.php?task=edit&edmode=stop&id=32685&species_id=39&username=Martin S'>stop keeping</a>. Last update: 2012-10-05.
The issue is the "Martin S" in the URL, it should be encoded to Martin%20S to allow it to pass correctly through all mail transports. It's going to be a "good one" to test, will need to put some time aside to test properly as getting this wrong could break a LOT of emails.

At least you know it's a bug!

Jools
User avatar
MatsP
Posts: 21038
Joined: Wed Oct 06, 2004 1:58 pm
My articles: 4
My images: 28
My cats species list: 117 (i:2, k:10)
My aquaria list: 10 (i:8)
My BLogs: 4 (i:0, p:97)
Spotted: 25
Location 1: North of Cambridge
Location 2: England.

Re: My Cats Email Links Fail on iPhone

Post by MatsP »

Do we have, or is there a "ready-made" PHP function for converting spaces to "%20" like this? I seem to remember we've had a similar thing before now.

Edit: Answer to myself:

Code: Select all

rawurlencode
should do what is needed here.

--
Mats
User avatar
Jools
Expert
Posts: 15202
Joined: Mon Dec 30, 2002 3:25 pm
My articles: 193
My images: 914
My catfish: 239
My cats species list: 89 (i:0, k:6)
My aquaria list: 2 (i:2)
My BLogs: 7 (i:5, p:194)
My Wishlist: 20
Spotted: 985
Location 1: M8
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: My Cats Email Links Fail on iPhone

Post by Jools »

This is now fixed. Martin, would appreciate confirmation next time you get the chance, or anyone else with a space in their username (e.g. @Dave Rinaldo) ?

Cheers,

Jools
Post Reply