| @@ -13,9 +13,9 @@ | ||
| 13 | 13 | decodeURIComponent( |
| 14 | 14 | document.cookie.replace( |
| 15 | 15 | new RegExp( |
| 16 | 16 | '(?:(?:^|.*;)\\s*' + |
| 17 | - encodeURIComponent( e ).replace( /[\-\.\+\*]/g, '\\$&' ) + | |
| 17 | + encodeURIComponent( e ).replace( /[-.+*]/g, '\\$&' ) + | |
| 18 | 18 | '\\s*\\=\\s*([^;]*).*$)|^.*$' |
| 19 | 19 | ), |
| 20 | 20 | '$1' |
| 21 | 21 | ) |
| @@ -23,9 +23,9 @@ | ||
| 23 | 23 | null |
| 24 | 24 | ); |
| 25 | 25 | }, |
| 26 | 26 | setItem: function ( e, o, n, t, r, i ) { |
| 27 | - if ( ! e || /^(?:expires|max\-age|path|domain|secure)$/i.test( e ) ) { | |
| 27 | + if ( ! e || /^(?:expires|max-age|path|domain|secure)$/i.test( e ) ) { | |
| 28 | 28 | return ! 1; |
| 29 | 29 | } |
| 30 | 30 | var c = ''; |
| 31 | 31 | if ( n ) { |
| @@ -53,9 +53,9 @@ | ||
| 53 | 53 | ( r ? '; domain=' + r : '' ) + |
| 54 | 54 | ( t ? '; path=' + t : '' ) + |
| 55 | 55 | ( i ? '; secure' : '' ) ), |
| 56 | 56 | ! 0 |
| 57 | - ); | |
| 57 | + ); | |
| 58 | 58 | }, |
| 59 | 59 | }; |
| 60 | 60 | |
| 61 | 61 | // Implement IAB USP API. |