Ticket #441 (closed defect: invalid)
Browser support should be primarily by capability and not the user agent string
| Reported by: | anonymous | Owned by: | gogo |
|---|---|---|---|
| Priority: | normal | Milestone: | Version 1.0 |
| Component: | Xinha Core | Version: | trunk |
| Severity: | major | Keywords: | |
| Cc: |
Description
Currently browser detection is done by navigator.userAgent.toLowerCase();
It is much better to test the browsers capabilities rather than relying on a string that can be easily spoofed. Also, by relying on the user agent string any browser that does not contain a tested string will not function even if the browser is capable of running Xinha (i.e. Konqueror).
Change History
Note: See
TracTickets for help on using
tickets.
