Comments (4)
The project has moved here: https://github.com/ua-parser/uap-core please file issues there. Also, this issue has been fixed: ua-parser/uap-core#72
from ua-parser.
Is there also a current NuGet Package for /ua-parser/uap-core?
from ua-parser.
I do not know what NuGet is, but if you look at the ua-parser project you might find something: https://github.com/ua-parser/
from ua-parser.
Using the c-sharp port via NuGet, I can confirm that this is an issue. Edge is not properly detected (it's probably being detected as Chrome, not Edge.) Because Edge attempts to look like Chrome, Edge detection must come before Chrome detection in the YAML regex files.
Edit
And, as @bluesmoon says (as does the README.md), the project has moved. However, the NuGet package for the C# implementation does still have an outdated YAML file included for the regex's. So Microsoft Edge detection is still "broken" in v1.2 of UAParser (that's the NuGet package name).
To fix it, I simply included the regexes.yaml
file from the uap-core project mentioned above as an embedded resource in my assembly and used the Parser.FromYaml(string yaml)
method to instantiate a parser. Using this method, Microsoft Edge was properly detected using the updated regex's.
from ua-parser.
Related Issues (20)
- isMobile alternative HOT 2
- Desktop browsers return as Other. HOT 11
- Wrong detection of Amazon Silk HOT 3
- Publish the Java Maven artifact in the maven central repository HOT 3
- ua_parser:pig
- Outlook UA strings
- Linux Mint 17.2 is reported as linux mint 17 HOT 1
- Device family is not getting parsed properly HOT 2
- Node js upgradation
- uap-lua HOT 1
- Case sensitive regex match in C# uaparser HOT 1
- used in hive udf gives IOException HOT 1
- unit test error HOT 1
- Convert the .net project to a portable project so i can target more platforms
- Tests fail in Java Directory with the lastest regexes.yaml
- Mobile BingBot detected as iPhone HOT 1
- Regex expressions for web application scanners HOT 1
- ua_dict missing data raises: exceptions.TypeError: parse_device() takes exactly 3 arguments (1 given)
- regex place holder is not working in regex_yaml HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ua-parser.