Skip to content

Commit

Permalink
Fixed
Browse files Browse the repository at this point in the history
- Redirect function breaks in cases where user agents versions can't be read. To avoid new browsers from being redirected incorrectly, we have to allow browsers coming back with versions 0 regardless of any other criteria.
  • Loading branch information
Mark Notton committed Oct 11, 2018
1 parent 64d6d7f commit 288f0fc
Show file tree
Hide file tree
Showing 6 changed files with 2,785 additions and 85 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).

## 1.1.2 - 2018-10-11
### Fixed
- Redirect function breaks in cases where user agents versions can't be read. To avoid new browsers from being redirected incorrectly, we have to allow browsers coming back with versions 0 regardless of any other criteria.

## 1.1.1 - 2018-08-13
### Added
- Agent.js now includes a rudimentary check for touch devices.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Or manually in your compsoer.json:

```
"require": {
"marknotton/agent": "^1.1.0"
"marknotton/agent": "^1.1.2"
}
```

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "marknotton/agent",
"description": "Query the server-side information from the users agent data.",
"type": "craft-plugin",
"version": "1.1.1",
"version": "1.1.2",
"keywords": [
"craft",
"cms",
Expand Down Expand Up @@ -33,7 +33,7 @@
"extra": {
"name": "Agent",
"handle": "agent",
"schemaVersion": "1.1.1",
"schemaVersion": "1.1.2",
"hasCpSettings": false,
"hasCpSection": false,
"changelogUrl": "https://github.com/marknotton/craft-plugin-agent/blob/master/CHANGELOG.md",
Expand Down
Loading

0 comments on commit 288f0fc

Please sign in to comment.