[kgb-maintainers] Bug#822375: kgb: doesn't really handle unicode characters and fights against snowmen

Mattia Rizzolo mattia at debian.org
Sat Apr 23 23:02:35 UTC 2016


Source: kgb-bot
Version: 1.15-2
Severity: minor

So, I was toying with git repos on alioth and decided to try creating a
repository literally named ☃.git and see how the tooling worked with it.

Result has been a bug report to deb.li (ngnix reported a 500 error for
the url containing ☃ ! :D) and this bug.

This is the thing appeared on IRC:

[10:25:52 PM] <KGB-1> Mattia Rizzolo master 6b451cb ☃ "\342\230\203" here is a snowman for you! :P ☃ and another! ☃ * http://deb.li/byB7

Here, the '☃' wanted to be a snowman!  We denied its future! :D
That's the repository name, where apparently the single unicode
character has been split in 3.


And "\342\230\203" should be another snowman: that's the only file I
modified.

We checked that 0xE2 0x98 0x83 are the 3 bytes composing ☃ (0xE2 is â),
and \342 \230 \203 is the octal representation of the same.

So, I think there is something inside kgb chewing unicode characters
thinking it's plain ascii, or something like that ;)

Thanks for maintaining the KGB bots!
-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/kgb-maintainers/attachments/20160423/fdfde9d5/attachment.sig>


More information about the kgb-maintainers mailing list