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

Small patches for er.extensions.appserver.navigation #806

Merged
merged 2 commits into from
Oct 10, 2016

Conversation

paulhoadley
Copy link
Contributor

Mark Wardle supplied a couple of patches via the mailing list:

  • Fixes a typo in ERXNavigationItem.java.
  • Ensures that a generated URL in ERXNavigationMenuItem.java is secure if the current request is secure.

I don't use ERXNavigationMenuItem.java, so I can't really vouch for the latter patch, though it looks legit at a glance. Ideally someone that uses this package could check it out, though I imagine Mark's got the class in use and that this change works just fine.

@wardle
Copy link
Contributor

wardle commented Oct 9, 2016

This code has been in production for two years or so and seems to work. It simply checks the current request and finds out whether it is secure returning a URL that honours the current status.

@darkv darkv merged commit 765884a into wocommunity:master Oct 10, 2016
@paulhoadley
Copy link
Contributor Author

Thanks @darkv. Thanks @wardle.

@paulhoadley paulhoadley deleted the wardle-patches branch October 10, 2016 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants