https://sourceforge.net/tracker/?func=detail&aid=3299425&group_id=152762&atid=785194
Desktop.setBookmark("mybookmark?test=1") causes an exception:
SEVERE: >>java.lang.IllegalArgumentException: Illegal character: # ?
>> at org.zkoss.zk.ui.impl.DesktopImpl.setBookmark(DesktopImpl.java:482)
According to http://tools.ietf.org/html/rfc3986#page-24 the URI fragment part allows ? to be used in the hash.
Also, if I have an URL that contains ? in the hash part, Desktop.getBookmark() returns the value correctly, thus, I can get a hash with ? in, but it can't be set with setBookmark.