In the US most allow but not always. For instance, NYC recently passed a law forbidding it. Many companies will not report anything other than whether or not you were an employee and the dates of your employment, but that is by their choice to limit lawsuits, frivolous or otherwise.