[android-developers] Re: URL query string bug in SMS messages

2011-02-08 Thread Sarwar Erfan
URL rewriting is available for IIS also. http://msdn.microsoft.com/en-us/library/ms972974.aspx http://www.iis.net/download/urlrewrite http://learn.iis.net/page.aspx/460/using-the-url-rewrite-module/ You can also use ISAPI filter http://www.isapirewrite.com/?gclid=CO2Qtrqq-KYCFUYifAodtHjnEw R

[android-developers] Re: URL query string bug in SMS messages

2011-02-07 Thread Jan Westin
I've tried to include a CR/LF after the url, and also just the url as a stand alone for good measure. The results can be found here: http://twitpic.com/3xdhde For a obvious comparison the same looks as following on iOS http://twitpic.com/3xdi8i Sure, I recognize that it is easily worked around b

[android-developers] Re: URL query string bug in SMS messages

2011-02-05 Thread Jan Westin
True, I'll have to look into that back at work. In this case it happens to be running on a IIS platform. Thanks for the insight. //Jan On Feb 5, 7:35 pm, Kostya Vasilyev wrote: > 05.02.2011 20:19, Jan Westin пишет: > > > Thanks fot the tip. > > Welcome. > > > But in this case the goal is to pro

Re: [android-developers] Re: URL query string bug in SMS messages

2011-02-05 Thread Kostya Vasilyev
05.02.2011 20:19, Jan Westin пишет: Thanks fot the tip. Welcome. But in this case the goal is to provide users with an unique hash and to validate their handsets to get access to a newspapers standing subscriber-feed. Thus the parameter is intended for one time use. So what? URL rewriting i

[android-developers] Re: URL query string bug in SMS messages

2011-02-05 Thread Jan Westin
Interesting notice that there is a difference. >From what we have seen so far, we haven't noticed a difference sending the URL from one handset or from our SMSC. Worth mentioning that this is the case of Finish operators. I don't own a Samsung Galaxy phone myself, but the customers that have repor

[android-developers] Re: URL query string bug in SMS messages

2011-02-05 Thread Jan Westin
Thanks fot the tip. But in this case the goal is to provide users with an unique hash and to validate their handsets to get access to a newspapers standing subscriber-feed. Thus the parameter is intended for one time use. The link is retrieved from our SMSC by sending a keyword to a known shortcod

[android-developers] Re: URL query string bug in SMS messages

2011-02-05 Thread Jan Westin
Yes test 2 is not part of the query. It was just there to identify the message from our SMSC. Sorry for the confusion. And yes the problem is just that it just highlights http://www.site.com as part of an url. On Feb 5, 5:46 pm, Kostya Vasilyev wrote: > Not sure if there are any spaces. > > The S

[android-developers] Re: URL query string bug in SMS messages

2011-02-05 Thread kernelpanic
just to add more food for thought - there may be a problem here - there are definitely some differences Using this as a test URL http://www.test.com?id=123abc If I send it to the Epic from another phone - it does NOT consider the query portion (?id=123abc) as part of the link if I send it to th

[android-developers] Re: URL query string bug in SMS messages

2011-02-05 Thread kernelpanic
yeah that's true As Mark said, if you do the same test with %20 - it does include the ? sc= portion in the link may need a CR/LF in there to force the separation between the link and the text On Feb 5, 9:46 am, Kostya Vasilyev wrote: > Not sure if there are any spaces. > > The SMS content is: "

Re: [android-developers] Re: URL query string bug in SMS messages

2011-02-05 Thread Kostya Vasilyev
Not sure if there are any spaces. The SMS content is: "http://www.site.com?param=value Test 2" It's not clear whether the " Test 2" is part of the URL. I would think not, because spaces in URLs are always encoded as "%20" or "+". I suspect the issue is that the "?param=value" is not highlight

Re: [android-developers] Re: URL query string bug in SMS messages

2011-02-05 Thread Kostya Vasilyev
BTW, it's been suggested to use a link shortening service - that would break intent filters, if they are used to launch the application. What would work, is to use URL rewriting, so rather than using: http://www.site.com/page?param=value one would use something like: http://www.site.com/page/

Re: [android-developers] Re: URL query string bug in SMS messages

2011-02-05 Thread Mark Murphy
On Sat, Feb 5, 2011 at 10:25 AM, kernelpanic wrote: > I do question the validity of the spaces in the query and suspect that > is the issue here. :: smacks forehead :: Yeah, I never noticed that. Looking at the regex that Linkify uses, it will not honor spaces in query parameters, but it should

[android-developers] Re: URL query string bug in SMS messages

2011-02-05 Thread kernelpanic
You didn't mention which Galaxy S phone or if it's all of them. FWIW, I've had no issues sending this type of URL through an SMS gateway to the Samsung Epic Galaxy class phone - works as expected. I do question the validity of the spaces in the query and suspect that is the issue here. I can sen

[android-developers] Re: URL query string bug in SMS messages

2011-02-05 Thread Jan Westin
Well that is almost not an option to not use query strings in a SMS. One work around would be to use a link shortener prior to sending out the SMS from our SMS gateway. (Given that the link shortening service does not crawl the site prior to shortening it) Or to rather make the quer part of the sit