If 'referer' is enabled but there is not referencing site (i.e. one put in web browser direct address) then after clicking 'cancel' redirects to non existing address, example:
0. enable 'referer' and 'cancel button' for 'page' content type
1. go directly to "http://localhost/xxx/node/add/page" (no via some admin menu or other)
2. hit 'cancel'
3. it redirects you to 'http://localhost/xxx//xxx/' instead of "http://localhost/xxx/node/add"

Comments

jwilson3’s picture

I agree there should be some chaining going on so that

a) if there is a referrer, go there.
b) if referrer is blank and the content already exists, go to node/$nid
c) if referrer is blank and the content has not been saved yet, go to node/add or (maybe make this worst-case scenario backup destination configurable).

jwilson3’s picture

Version: 6.x-1.0 » 7.x-1.x-dev
pawel_r’s picture

Issue summary: View changes
Status: Active » Closed (outdated)