iPhone wifi conecction popUp userAgent issue

I have this HTTP request, I expected this, but WURFL is returning that. Please provide enough data to reproduce the problem.
avelino.collar
Posts: 1
Joined: Thu May 09, 2013 3:23 am

iPhone wifi conecction popUp userAgent issue

Postby avelino.collar » Thu May 09, 2013 3:34 am

Hello everybody,

i'm having an issue with user agent from popUp when connecting a wifi network.

I'm using java Api version 1.4.4 with wurfl-2.3.3.xml.

Main problem is that popUp's user agent is not the same as Safari, it sends "CaptiveNetworkSupport-168 wispr" or "CaptiveNetworkSupport-209.39 wispr".

I've tried to use wurlf-patch.xml including those user agents and it works, but i want to use something like a wildcard (*,%, etc) to include al user agents that contain "CaptiveNetworkSupport".

Do you know something about this issue?

Do you have any solution?

Thanks in advance!!!

sriram
Posts: 161
Joined: Wed Jan 04, 2012 10:01 am

Re: iPhone wifi conecction popUp userAgent issue

Postby sriram » Thu May 09, 2013 9:40 am

Hi Avelino,

Have you tried creating a patch file with just "CaptiveNetworkSupport" as the User Agent?

Please be aware that Mac OS X [at least in 10.8/Mountain lion] will also send a similar User Agent when trying to connect to a captive portal. So if you redirect UAs containing "CaptiveNetworkSupport" to a mobile-friendly webpage, you may also be sending Mac OS desktop users there.

Cheers!
Sriram Sridharan


Who is online

Users browsing this forum: No registered users and 12 guests