github.com repositories redirect to odd javascript-related url that 404s

Bug #1335299 reported by Elros
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Lightspark
Confirmed
Undecided
Unassigned

Bug Description

https://github.com/multimc/mulitmc5 redirects to
https://github.com/multimc/javascript:%28function%28eventObj%29%20%7B%20%20var%20objectId%20=%20%27global-zeroclipboard-flash-bridge%27,%20%20%20%20%20%20ZC%20=%20null,%20%20%20%20%20%20swf%20=%20null;%20%20if%20%28typeof%20ZeroClipboard%20===%20%27function%27%20&&%20typeof%20ZeroClipboard.emit%20===%20%27function%27%29%20%7B%20%20%20%20ZC%20=%20ZeroClipboard;%20%20%7D%20%20else%20%7B%20%20%20%20swf%20=%20document%5BobjectId%5D%20||%20document.getElementById%28objectId%29;%20%20%20%20if%20%28swf%20&&%20typeof%20swf.ZeroClipboard%20===%20%27function%27%20&&%20typeof%20swf.ZeroClipboard.emit%20===%20%27function%27%29%20%7B%20%20%20%20%20%20ZC%20=%20swf.ZeroClipboard;%20%20%20%20%7D%20%20%7D%20%20if%20%28!ZC%29%20%7B%20%20%20%20throw%20new%20Error%28%27ERROR:%20ZeroClipboard%20SWF%20could%20not%20locate%20ZeroClipboard%20JS%20object!%5CnExpected%20element%20ID:%20%27%20+%20objectId%29;%20%20%7D%20%20return%20ZC.emit%28eventObj%29;%7D%29%28%7B%22name%22:%22flash-unavailable%22,%22type%22:%22error%22%7D%29;

this issue only occurs with lightspark on firefox
I use arch linux, if that helps

Elros (robotbrainify)
description: updated
Revision history for this message
James Phillips (78luphr0rnk2nuqimstywepozxn9kl19tqh0tx66b5dki1xxsh5mkz9gl21a5rlwfnr8jn6ln0m3jxne2k9x1ohg85w3jabxlrqbgszpjpwcmvkbcvq9spp6z3w5j1m33k06t-launchpad-a811i2i3ytqlsztthjth0svbccw8inm65tmkqp9sarr553jq53in4xm1m8wn3o4rlwaer06ogwvqwv9mrqoku2x334n7di44o65qze67n1wneepmidnuwnde1rqcbpgdf70gt) wrote :

I have reproduced the issue with lightspark-common 0.7.2-3.1+b1 i386 High-performance SWF player - common data (debian). I was directed here after reporting the issue to github (I have lightspark disabled now).

https://github.com/bitcoin/bitcoin/issues?state=open
is redirected to (resulting in a 404 error):
https://github.com/bitcoin/bitcoin/javascript:%28function%28eventObj%29%20%7B%20%20var%20objectId%20=%20%27global-zeroclipboard-flash-bridge%27,%20%20%20%20%20%20ZC%20=%20null,%20%20%20%20%20%20swf%20=%20null;%20%20if%20%28typeof%20ZeroClipboard%20===%20%27function%27%20&&%20typeof%20ZeroClipboard.emit%20===%20%27function%27%29%20%7B%20%20%20%20ZC%20=%20ZeroClipboard;%20%20%7D%20%20else%20%7B%20%20%20%20swf%20=%20document%5BobjectId%5D%20||%20document.getElementById%28objectId%29;%20%20%20%20if%20%28swf%20&&%20typeof%20swf.ZeroClipboard%20===%20%27function%27%20&&%20typeof%20swf.ZeroClipboard.emit%20===%20%27function%27%29%20%7B%20%20%20%20%20%20ZC%20=%20swf.ZeroClipboard;%20%20%20%20%7D%20%20%7D%20%20if%20%28!ZC%29%20%7B%20%20%20%20throw%20new%20Error%28%27ERROR:%20ZeroClipboard%20SWF%20could%20not%20locate%20ZeroClipboard%20JS%20object!%5CnExpected%20element%20ID:%20%27%20+%20objectId%29;%20%20%7D%20%20return%20ZC.emit%28eventObj%29;%7D%29%28undefined%29;

The redirection does not occur with JavaScript disabled (probably because light-spark does not run). Since iceweasel (similar to firefox) stoped reliably stopping running scripts when I disabled JavaScript, I now use NoScript.

Changed in lightspark:
status: New → Confirmed
Revision history for this message
Xan (dxpublica) wrote :

Confirmed: with archlinux firefox 35.0.1. With Chromium it does not happen.

Revision history for this message
Xan (dxpublica) wrote :

I used 0.7.2.r122.g3d55371-1

Revision history for this message
Uri (urisharf) wrote :

Seeing this as well after installing light spark (Ubuntu 14.10, Firefox 36.0).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.