Git Product home page Git Product logo

Comments (11)

leastprivilege avatar leastprivilege commented on May 31, 2024

Fix it? Close?

from identityserver2.

brockallen avatar brockallen commented on May 31, 2024

This is a bug in ASP.NET, IIRC. It's due to a lack of .browser config to match the user agent string.

from identityserver2.

brockallen avatar brockallen commented on May 31, 2024

Do we want to take a dependency on this: http://51degrees.codeplex.com/ to address the issue?

from identityserver2.

ChristianWeyer avatar ChristianWeyer commented on May 31, 2024

Did you already try it?
It it works I think a dep. should be OK...

Am 09.01.2013 um 01:26 schrieb "Brock Allen" <[email protected]mailto:[email protected]>:

Do we want to take a dependency on this: http://51degrees.codeplex.com/ to address the issue?


Reply to this email directly or view it on GitHubhttps://github.com//issues/18#issuecomment-12025201.

from identityserver2.

brockallen avatar brockallen commented on May 31, 2024

@ChristianWeyer Can you confirm for me what the real UA string is on your iOS6 device is? I am testing iPhone with:

Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25

and it seems to be working (meaning, it seems to be detecting it as a mobile device). Also, for iPad:

Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25

This too is being detected as mobile. So my UA strings I'm using to test might be wrong. I'd like confirmation, please. Thx.

from identityserver2.

ChristianWeyer avatar ChristianWeyer commented on May 31, 2024

With the iOS simulator I see this:
User-Agent Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A403 Safari/8536.25

Could not yet test with the real device, though…

From: Brock Allen <[email protected]mailto:[email protected]>
Reply-To: "thinktecture/Thinktecture.IdentityServer.v2" <[email protected]mailto:[email protected]>
Date: Saturday, January 12, 2013 12:28 AM
To: "thinktecture/Thinktecture.IdentityServer.v2" <[email protected]mailto:[email protected]>
Cc: Christian Weyer <[email protected]mailto:[email protected]>
Subject: Re: [Thinktecture.IdentityServer.v2] iOS6 user agent not detcted (#18)

@ChristianWeyerhttps://github.com/ChristianWeyer Can you confirm for me what the real UA string is on your iOS6 device is? I am testing iPhone with:

Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25

and it seems to be working (meaning, it seems to be detecting it as a mobile device). Also, for iPad:

Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25

This too is being detected as mobile. So my UA strings I'm using to test might be wrong. I'd like confirmation, please. Thx.


Reply to this email directly or view it on GitHubhttps://github.com//issues/18#issuecomment-12168686.

from identityserver2.

brockallen avatar brockallen commented on May 31, 2024

Hmm, so with this UA string it also is correctly detected. Maybe MSFT patched something?

from identityserver2.

apideveloper avatar apideveloper commented on May 31, 2024

I have one that I can test with later today.

Sent from my iPhone

On Jan 12, 2013, at 12:42 PM, "Christian Weyer" [email protected] wrote:

With the iOS simulator I see this:
User-Agent Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A403 Safari/8536.25

Could not yet test with the real device, though…

From: Brock Allen <[email protected]mailto:[email protected]>
Reply-To: "thinktecture/Thinktecture.IdentityServer.v2" <[email protected]mailto:[email protected]>
Date: Saturday, January 12, 2013 12:28 AM
To: "thinktecture/Thinktecture.IdentityServer.v2" <[email protected]mailto:[email protected]>
Cc: Christian Weyer <[email protected]mailto:[email protected]>
Subject: Re: [Thinktecture.IdentityServer.v2] iOS6 user agent not detcted (#18)

@ChristianWeyerhttps://github.com/ChristianWeyer Can you confirm for me what the real UA string is on your iOS6 device is? I am testing iPhone with:

Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25

and it seems to be working (meaning, it seems to be detecting it as a mobile device). Also, for iPad:

Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25

This too is being detected as mobile. So my UA strings I'm using to test might be wrong. I'd like confirmation, please. Thx.


Reply to this email directly or view it on GitHubhttps://github.com//issues/18#issuecomment-12168686.

Reply to this email directly or view it on GitHub.

from identityserver2.

leastprivilege avatar leastprivilege commented on May 31, 2024

does this help?
http://wurfl.sourceforge.net/

from identityserver2.

brockallen avatar brockallen commented on May 31, 2024

I know this issue is like a million years old, but can you test again Christian? I used your emulator's UA string and it seems to display the mobile version.

from identityserver2.

brockallen avatar brockallen commented on May 31, 2024

Ok, I'll close until I hear otherwise from @ChristianWeyer :)

from identityserver2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.