Support to pre-rewrite links to the correct protocol instead of redirect (patch)

Created on 26 August 2010, over 14 years ago
Updated 26 November 2024, 27 days ago

Hi,

I decided to go for a cleaner approach to redirects and simply output the links to the correct URLs the first time (wherever possible - there may be corner cases where it doesn't work).

This greatly helps when using Boost, as it means that there's less reliance on bootstrapping Drupal to get users on the right protocol. We had a problem that when a user finishes checking out their cart, they get sent back to the site on HTTPS, but anonymous users at that point start getting Boost pages again, so remain on HTTPS even though they should've switched back.

To activate this support you need to have the url_alter module installed, which defines hook_url_alter_oubound(), a hook backported from D7. When this module isn't installed, this functionality won't work (until D7), but it won't break anything.

Thanks

✨ Feature request
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡³πŸ‡ΏNew Zealand neilnz

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡¦Ukraine AstonVictor

    I'm closing it because the issue was created a long time ago without any further steps.

    if you still need it then raise a new one.
    thanks

Production build 0.71.5 2024