Last modified: 2014-05-19 21:50:24 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T67508, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65508 - translate.googleusercontent.com in webHost for some client-side events
translate.googleusercontent.com in webHost for some client-side events
Status: NEW
Product: Analytics
Classification: Unclassified
EventLogging (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-19 21:27 UTC by Matthew Flaschen
Modified: 2014-05-19 21:50 UTC (History)
8 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Matthew Flaschen 2014-05-19 21:27:18 UTC
My guess is this might be somehow related to framing.

However, it uses:

webHost          : window.location.hostname

which in theory should work even in a framing scenario, unless the context of the JavaScript was somehow lost.  On http://jsfiddle.net/596mX/ the top web host is htp://jsfiddle.net, the frame host is http://fiddle.jshell.net, and it alerts the latter's hostname.
Comment 1 Dario Taraborelli 2014-05-19 21:43:42 UTC
Thanks for bringing this up and for linking the other ticket, this is an issue that we should take very seriously as people crunching the data will rarely remember to filter by webHost (assuming filtering by wiki is sufficient) which will cause the inclusion of a lot of bogus events caused by test instances on labs or legitimate but spurious events caused by users with proxies or other factors.

I think we should try and enforce stricter validation for the webHost field to only accept events from a list of known hostnames and set up monitoring of events that fail validation on the webHost field.
Comment 2 Matthew Flaschen 2014-05-19 21:50:24 UTC
Steven also suggested it could be related to Chrome's automatic translation feature.

My tests indicate that still uses the original hostname in Chromium 34.0.1847.132 Debian 7.5 (265804) , but this behavior might vary by version or something.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links