Hi,
I've tried a couple of hours on my Mac OSX through Terminal to apply the patch to common.inc with absolutely no joy.
Would somebody kindly just post me the correct code that I have to replace in the following in common.inc please.
// The special path '<front>' links to the default front page.
if (!empty($path) && $path != '<front>') {
$path = drupal_get_path_alias($path);
- $path = drupal_urlencode($path);
- if (!$clean_url) {
+ if (strpos($path, '://') !== FALSE) {
+ $base = '';
+ }
+ else {
+ $path = drupal_urlencode($path);
+ }
+ if (!$clean_url && strpos($path, '://') === FALSE) {
if (isset($query)) {
return $base . $script .'?q='. $path .'&'. $query . $fragment;
}Presume maybe the whole common.inc file? would be most appreciated.
All the best,
Lilian
Comments
Comment #1
betz commentedlook for:
delete the 2 following lines:
Now paste this: