1 parent
ccf3ff3738
commit
7664c923f6
3 files changed
+8
-2
No files matched your search
@@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
|
## 3.3.4 - 2020-11-16
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- non-ASCII characters in Server Timing headers
|
||||||
|
|
||||||
## 3.3.3 - 2020-03-11
|
## 3.3.3 - 2020-03-11
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ Plugin Name: Laps
|
|||||||
Plugin URI: https://github.com/Rarst/laps
|
Plugin URI: https://github.com/Rarst/laps
|
||||||
Description: Light WordPress profiler.
|
Description: Light WordPress profiler.
|
||||||
Author: Andrey “Rarst” Savchenko
|
Author: Andrey “Rarst” Savchenko
|
||||||
Version: 3.3.3
|
Version: 3.3.4
|
||||||
Author URI: https://www.rarst.net/
|
Author URI: https://www.rarst.net/
|
||||||
Text Domain: laps
|
Text Domain: laps
|
||||||
Domain Path: /lang
|
Domain Path: /lang
|
||||||
|
|||||||
@@ -68,7 +68,8 @@ class Server_Timing_Manager {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
header( 'Server-Timing: ' . preg_replace( '/\R/', '', $header ) );
|
// Sanitize to visible US ASCII character range (32-126).
|
||||||
|
header( 'Server-Timing: ' . preg_replace( '/[^\x20-\x7E]/', '', $header ) );
|
||||||
|
|
||||||
return $input;
|
return $input;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user