Fully deactivate contact.php and about.php when "Contact us" / "About" is linked elsewhere
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
In Admin menu -> Configure site -> Menus you can link the "Contact us" footer link to an email address or another URL to circumvent the contact us form on Mahara. This works well for the footer. However, you can still go to /contact.php and use the form if you know the URL to the form.
When the form is deactivated by using an email address or linking to another site, the Mahara page should not be available at all thus preventing that site admins might get spammed.
The same goes for the "About" page.
To replicate:
1. Go to Admin menu -> Configure site -> Menus.
2. Enter an email address for "Contact us".
3. Enter a URL to another site (not that Mahara site) in "About".
4. Save your changes.
5. Go to domain/contact.php (do not click the link in the footer)
Expected result: Your email programme pops up with a new mail.
Actual result: You are on the contact us form.
6. Go to domain/about.php (do not click the link in the footer)
Expected result: You are taken to the URL you entered in the menu.
Actual result: You are on the about.php page with some info on Mahara.
Once changes have been made, also test that the links in the footer still go to the correct pages.
summary: |
- contact.php is not fully deactivated when "Contact us" / "About" is - linked elsewhere + Fully deactivate contact.php and about.php when "Contact us" / "About" + is linked elsewhere |