Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect to Default action without appending action variable to URL #33

Closed
joebrislin opened this issue Aug 20, 2010 · 2 comments
Closed
Milestone

Comments

@joebrislin
Copy link

Update to BuildUrl that sets basePath = arguments.path when arguments.action is your default action. This will allow Redirect() to actually redirect your website to the base url when using your default action. variables.fw.redirect('main.default') will redirect to http://www.site.com/ instead of http://www.site.com/index.cfm?action=main.default

@seancorfield
Copy link
Member

Closed by 131b27d by refactoring buildURL() so default action can be omitted in constructed URLs. /index.cfm is still left in the URL right now. I'll probably fix that next. This also fixes two bugs in flash scope:

@seancorfield
Copy link
Member

index.cfm is removed if you set SESOmitIndex (even if you don't use SES URLs - I guess that needs documenting!).

cfGothChic pushed a commit to cfGothChic/fw1 that referenced this issue Mar 19, 2013
…n be omitted in constructed URLs. /index.cfm is still left in the URL right now. I'll probably fix that next. This also fixes two bugs in flash scope:

* when # contexts = 1, old flash not destroyed (actually true when # contexts > 1 as well but that was non-obvios)
* flash scope action overrode implicit (home) action - noticeable once framework-one#33 was fixed!
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants