Reference to commits in issues are not links anymore

Hello, I have migrated issues from GitLab installation (v6.5.1) to another (v8.11.5). I noticed that on the new system the commit hash is no longer a link. I then noticed that this is because in the new version the commit hash needs to have more characters.

Is this configurable?