Skip to content
This repository was archived by the owner on Sep 25, 2018. It is now read-only.

'register-success' and SiteController Redirect #100

Closed
Mosely opened this issue Dec 16, 2013 · 2 comments
Closed

'register-success' and SiteController Redirect #100

Mosely opened this issue Dec 16, 2013 · 2 comments
Assignees
Milestone

Comments

@Mosely
Copy link
Contributor

Mosely commented Dec 16, 2013

Hi there,

I just found about this Yii CMS and I'm amazed. I do have a question, though: on line 575 of SiteController.php, should it be be trying to redirect to "/register-success"? In order to get it to work on my fresh install, I had to remove that "/".

charlesportwoodii added a commit that referenced this issue Dec 17, 2013
@charlesportwoodii
Copy link
Collaborator

@Mosely,

Yup, that's a bug. The redirect should be wrapped in $this->createUrl() so that Yii can internally map it.

I've released a hotfix for the issue, and push it as the latest-release. If you do a git pull followed by git checkout tags/latest-version you can fetch the fix. Alternatively, you can pull directly from master to get the change.

Thanks for catching that! I'm glad you like CiiMS! Be sure to let me know if you have any questions!

@charlesportwoodii
Copy link
Collaborator

@charlesportwoodii

[INTERNAL] Unit tests should run site from the root directory and from a folder config as this instance was run in to catch issues like this in the future

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants