diff options
author | Yorhel <git@yorhel.nl> | 2015-07-19 01:52:37 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2015-07-19 01:52:37 +0200 |
commit | f5e7a629a85a3abda0bfe7ee81b8612409377056 (patch) | |
tree | 744dd088a0329e64400eec78196cb9373adc877f /data | |
parent | a575477eb7c755dc6facfe6a01abc2f8cbc9d73e (diff) |
Remove reliance on Referer header for /[vr]+/list modifications
Diffstat (limited to 'data')
-rw-r--r-- | data/script.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/script.js b/data/script.js index 7e04c1e0..dddc800c 100644 --- a/data/script.js +++ b/data/script.js @@ -3122,7 +3122,7 @@ if(byId('listsel')) { byId('listsel').onchange = function() { if(this.selectedIndex != 0) location.href = location.href.replace(/#.*/, '').replace(/\/(chars|staff)/, '').replace(/\.[0-9]+/, '') - +'/list?formcode='+this.name+';e='+this.options[this.selectedIndex].value; + +'/list?formcode='+this.name+';e='+this.options[this.selectedIndex].value+';ref='+encodeURIComponent(location.pathname+location.search); }; } |