FWIW, if people want to put in a quick hack until the official release:
Go into /administrator/components/com_k2/tables/k2tag.php
remove function check(), and replace it with this code:
function check() {
$this->name = trim($this->name);
if ($this->name == '') {
$this->setError(JText::_('Tag cannot be empty'));
return false;
}
$this->name = str_replace('-','',$this->name);
return true;
}
Notice the str_replace for the '-' is one of the reasons that hyphens get removed. Commenting that out,, and in several other places and you can save tags with hyphens. The problem is that the tags module breaks when you click on articles related to the tag with hyphen, because for some reason, when the hyphenated parameter gets passed in the url, it ultimately gets changed from:
foo-bar
to
foo:bar
I ran out of time trying to understand what is going on inside of Joomla, as this appears to be related to the JDatabase Quote() function, afaik. Since this replace for hyphens is put in a number of different places, it makes me think that the K2 guys might have seen some issue with this, or that there's some security related issue with hyphens that causes the joomla api to modify them. Or it might also be related to the controller code and joomla's use of a ':" to pack url params.