URL fragment (#) allowed characters
After some digging on the internet I was unable to find a good answer to which characters I may use for URL fragment. I'm writing a javascript-script that will take advantage of URL fragments. I wanted to make the URL eye-friendly by not having it looking too complicated. So I was wondering if I could use characters like ':, ?, & or !' in the URL fragment and still have it valid. My URL fragment should contain the following values: order-by id desc or asc path /the/full/escaped/path/here/ unor tl;dr The fragment identifier component can contain: 0 - 9 a - z A - Z ? / : @ - . _ ~ ! $ & ' ( ) *