remove anything after fbclid=, closes #3240

This commit is contained in:
j 2020-08-31 23:12:46 +02:00
parent ffeee38d7d
commit e497e7a7ac

View file

@ -810,7 +810,8 @@ Ox.URL = function(options) {
function parseURL(str, callback) { function parseURL(str, callback) {
// remove facebook spam // remove facebook spam
str = str.replace(/\?fbclid=[A-Za-z0-9_]+/, '') //str = str.replace(/\?fbclid=[A-Za-z0-9_]+/, '')
str = str.replace(/\?fbclid=.*/, '')
// fixme: removing trailing slash makes it impossible to search for '/' // fixme: removing trailing slash makes it impossible to search for '/'
var split = str.split('#'), var split = str.split('#'),