Both are commonly used and acceptable.
There are various common cases where a superficially singular subject can or indeed must be associated with a plural verb:
The government [are/is] considering the proposal.
A lot of these matters [have/*has] been dealt with.
The majority [are/??is] pleased with the outcome.
A half of all pensioners [are/??is] living below the poverty line.
In the case you mention, a plural verb is probably at least equally common nowadays as a singular, though historically a singular verb appears to have been more common (e.g. do some comparisons on Google NGram: the singular verb appears to have undergone a downward trend over the last couple of centuries).
You will find prescriptivists bemoaning the apparent contradiction of a singular noun accompanied by a plural verb. But there's really no God-given reason to expect the verb to agree necessarily with the head noun and actual data clearly contradicts this assumption. As is usually the case, the prescriptivists are inventing a problem because their grammatical model is inadequate.