Hash part is missing when bookmarking

I'm not sure if this is intended or a bug, but when I try to save some url with hash (https://example.com#foo) the hash is stripped (only https://example.com is saved).

Does anybody had the same problem?