Pathauto issues (url_alias paths don't match)

Created on 29 September 2014, about 10 years ago
Updated 26 November 2024, 27 days ago

I have SecurePages set to secure every page except for a list of exceptions. I am having a hard time making exceptions for regular pages. Here's an example:

I have a blog section. The /blog page is rendered by a Panel. It lists individual blog posts. Using the following settings, I would expect that /blog and all of the individual blog pages (under /blog/xxxx) would NOT be forced to a secure version:

blog
blog/*

The blog listing page works fine, but each individual blog post is using https (meaning the exception is not being caught).

I have also tried to exempt individual blog posts by adding their alias to the exception list, and that fails.

Looking at the code, it appears that $path_alias = drupal_get_path_alias($path); is never called in if ($page) check, so $path_alias is never populated.

I will supply a patch for this shortly.

πŸ› Bug report
Status

Closed: outdated

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States juliakoelsch

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

  • πŸ‡¬πŸ‡§United Kingdom mcdruid πŸ‡¬πŸ‡§πŸ‡ͺπŸ‡Ί

    The "further steps" were to review and commit the patch that was RTBC'd by several commenters :)

    However, certainly appreciate what it's like trying to clean up a messy issue queue!

  • πŸ‡ΊπŸ‡¦Ukraine AstonVictor

    last update was 9 years ago :)

Production build 0.71.5 2024