mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 05:18:52 +00:00
[ticket/14492] Encode URI components in systemdata for stats
The stats data needs to be URI encoded to prevent issues when submitting the data to the receive_stats script on www.phpbb.com. PHPBB3-14492
This commit is contained in:
parent
15f433f00f
commit
9b4190e136
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ phpbb.prepareSendStats = function () {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: $this.attr('data-ajax-action').replace('&', '&'),
|
url: $this.attr('data-ajax-action').replace('&', '&'),
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
data: 'systemdata=' + $this.find('input[name=systemdata]').val(),
|
data: 'systemdata=' + encodeURIComponent($this.find('input[name=systemdata]').val()),
|
||||||
success: returnHandler,
|
success: returnHandler,
|
||||||
error: errorHandler,
|
error: errorHandler,
|
||||||
cache: false
|
cache: false
|
||||||
|
|
Loading…
Add table
Reference in a new issue