Woltlab Cookie Domain not setting

Woltlab is not setting the Cookie Domain if it ends with .lan or .local but since i adopted .local as a Development TDL (since .dev is taken by Google) this was rather unfortunate....