HTML Validator crashes in 2.0.1
Reported by Imran | October 4th, 2011 @ 03:30 PM | in 2.0.2 (closed)
Problem is in the is_mobile function of framework/core/subsystems/expTheme.php:
HTTP_ACCEPT could possibly be not set so have to change it to the following:
if (isset($_SERVER['HTTP_ACCEPT']) && (strpos(strtolower($_SERVER['HTTP_ACCEPT']),'application/vnd.wap.xhtml+xml') > 0) or ((isset($_SERVER['HTTP_X_WAP_PROFILE']) or isset($_SERVER['HTTP_PROFILE'])))) {
$mobile_browser++;
}
Comments and changes to this ticket
-
expNinja October 11th, 2011 @ 12:44 AM
- Milestone set to 2.0.2
- State changed from new to resolved
- Milestone order changed from 110 to 0
(from [805ef3619b406258800158c24a353c151a719ee2]) Fixes several XHTML validation issues, Opera browser mis-detected as mobile device, etc... [#349 state:resolved milestone:2.0.2] [#350 state:resolved milestone:2.0.2] [#351 state:resolved milestone:2.0.2] https://github.com/exponentcms/exponent-cms/commit/805ef3619b406258...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Bug Tracker for Exponent CMS
People watching this ticket
Referenced by
- 351 Opera desktop mistakenly identified as mobile in 2.0.1 (from [805ef3619b406258800158c24a353c151a719ee2]) Fixes s...
- 350 HTML it is not actually valid in 2.0.1 (from [805ef3619b406258800158c24a353c151a719ee2]) Fixes s...