Handle rehashing invalid fingerprints
The search and details pages rehash given fingerprints using the hashFingerprints
function before looking them up. This function isn't strict enough in detecting fingerprints which results in the function passing invalid hex strings to the jssha library. The library then gives the following error in the console and the page gets stuck on the loading screen.
uncaught exception: srcString of HEX type must be in byte increments
This is reproducible with the following urls
GOOD https://atlas.torproject.org/#details/BC630CBBB518BE7E9F4E09712AB0269E9DC7D626 BAD https://atlas.torproject.org/#details/BC630CBBB518BE7E9F4E09712AB0269E9DC7D6261
GOOD https://atlas.torproject.org/#search/BC630CBBB518BE7E9F4E09712AB0269E9DC7D626 BAD https://atlas.torproject.org/#search/BC630CBBB518BE7E9F4E09712AB0269E9DC7D6261
The fix is simple and a patch is coming once i get the ticket number.