Branch names with "/" or "-" allowed?

Can you tell me if branch names with “/” and/or “-” are allowed?
We had today a case where a merge request failed.
I then moved everything to branch names with “common” letters and all worked well.
Perhaps something where URLs have problems with “/” inside?
URL get more subdirs…