Public bug reported:

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.

** Affects: mahara
     Importance: Wishlist
         Status: Confirmed


** Tags: snack-sized

** Summary changed:

- 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

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1829687

Title:
  Fully deactivate contact.php and about.php when "Contact us" / "About"
  is linked elsewhere

Status in Mahara:
  Confirmed

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1829687/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to