The _nodewords_prepare_path() function does not check the system base path when it trims the value submitted as the URL value.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna’s picture

Status: Active » Needs review
FileSize
1.71 KB

I think this should do it. Rather than simply removing the slash from the start of the URL, it removes the base_path().

DamienMcKenna’s picture

FileSize
1.88 KB

A slight correction - it should use drupal_strlen() instead of strlen(), given it's already using drupal_substr().

DamienMcKenna’s picture

Committed.

DamienMcKenna’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

DamienMcKenna’s picture

Assigned: DamienMcKenna » Unassigned
Issue summary: View changes