So, I have a few Instiki instances here and there for personal/communal wiki usage, and noticed something rather fishy about it.
By default, the wiki uses the ruby library WEBrick to run an internal HTTP engine, but it would only bind to the network interface '0.0.0.0', which in my world is a 'Bad Thing'. Searching through the command line help and config/init files, I saw no option or parameter to change this easily.
Unphased, and relishing in the opportunity to do some coding in this crazy new language, I deftly opened up the source and added a comand line option, defaults, and modified some methods to add this functionality to specify the bind address at startup.
That done and tested, I was feeling particularly cool, and went to the Intiki TRAC site to begin the process of creating my patch. I downloaded the latest source and opened up the proper files to make my changes and create the patch.
Lo and behold, it was already in the latest repository version. No ruby glory for me. Maybe next time.
Post a comment