Problem with space char in file name - wap multimedia message

Problem with space char in file name - wap multimedia message SearchSearch
Author Message
Petr
Unregistered guest
Posted on Wednesday, December 10, 2003 - 09:57 am:   

When I send file (with space char in filename, eg. "file test.mid") as WMM message, WML file contents href to this file with space char too (eg. "file test.mid"). But mobile phone encode this href in GET request as "file+test.mid" (SE, maybe some phone uses "file%20test.mid") and this file isn't find on NowSMS. I think that NowSMS doesn't parse correctly URL in GET request (in decoding escape chars in URL).
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 1361
Registered: 10-2002
Posted on Wednesday, December 10, 2003 - 06:56 pm:   

Petr,

Yes, it does appear that there is a problem. Someone had mentioned this to me before, but they said the problem was with MMS ... and of course, we never found any problem there. But I can see it in the WAP Multimedia Message.

file%20test.mid would work ... but file+test.mid will not.

And actually, I think the biggest part of the problem is that NowSMS is not encoding the href or src link. So NowSMS builds WML that links to "file test.mid", which is not valid.

We've put together a fix so that NowSMS will encode the URL as "file%20test.mid", and that will be retrieved correctly.

This will be included in the next patch (probably Friday, maybe Monday or Tuesday). If you need it earlier, send an e-mail to nowsms@now.co.uk.

-bn
Petr
Unregistered guest
Posted on Thursday, December 11, 2003 - 09:40 am:   

Thank you Bryce,

I think that encoding of file name in WML is good way.