FS#32649 - {wiki}{forum} registration question is broken during the first week of the year.
Attached to Project:
Arch Linux
Opened by Karol Błażewicz (karol) - Wednesday, 14 November 2012, 14:49 GMT
Last edited by Pierre Schmitz (Pierre) - Saturday, 02 November 2013, 23:07 GMT
Opened by Karol Błażewicz (karol) - Wednesday, 14 November 2012, 14:49 GMT
Last edited by Pierre Schmitz (Pierre) - Saturday, 02 November 2013, 23:07 GMT
|
Details
The current registration question for the forums is
What is the output of "date -u +%W$(uname)|sha256sum|sed 's/\W//g'"? and for the wiki What is the output of "date -u +%W`uname`|sha256sum|sed 's/\W//g'"? (this makes the wiki csh-friendly). The code breaks in the first week of the year. It has been suggested to change the question from using 00`uname` to 52`uname` https://mailman.archlinux.org/pipermail/arch-dev-public/2011-December/022296.html If there are no downsides to using `uname` instead of $(uname), we could make both registration questions identical. |
This task depends upon
Closed by Pierre Schmitz (Pierre)
Saturday, 02 November 2013, 23:07 GMT
Reason for closing: Not a bug
Saturday, 02 November 2013, 23:07 GMT
Reason for closing: Not a bug
It sure is a fancy way of keeping Windows guys and spambots out (The same? Who knows…) but not if it doesn’t work.
date +%Y`uname`|sha256sum|sed 's/\W//g'
But yeah, would only break every ten or hundred or thousand years. :D
Or perhaps I am some sort of spambot?
What is the output of "date -u +%V$(uname)|sha256sum|sed 's/\W//g'"?
If using 'date -u +%V' instead of '%W' fixes the issue with registering in the first week of the year and no one cares about being csh-friendly, we can close this report.