Closed cketti closed 10 years ago
Fixed in https://github.com/berkerpeksag/github-badge/commit/ce33343abd37ae30c66f8811cbd69bc20c59627b. Thanks for the patch, @cketti!
When will you deploy this fix on https://githubbadge.appspot.com/ ?
Ah, sorry, deployed now. Thanks again.
Thank you for this wonderful project and your fast response!
Disabling Google Analytics didn't work because the variable 'analytics' in BadgeHandler.get() contained the string '0' when the appropriate GET parameter was sent. Therefore, '{% if analytics %}' in the template always evaluated to True and Google Analytics was included. This change also introduces stricter input validation for the GET parameters 's' and 'a'.