I've noticed that when redirecting from a url with hash fragment ids in the url, the fragment ids persist to the new url. This does not seem right- for instance, when submitting a form on a screen with a fragment id, the thank-you page gets the same url fragment.
Consider two simple pages:
def hello():
redirect(URL('goodbye'))
return dict(message='hello')
def goodbye():
return dict(message='goodbye')
/default/hello#there -> redirects to
/default/goodbye#there

