I've noticed since upgrading to 4.7 that the html syntax required within anchors, i.e. for "href" seems to have changed....

Whereas before:

a href=feedback

would have redireced to page with url "feedback", this no longer works, unless I insert the full url address:

a href=htttp://mydomain.org.uk/feedback

This seems to be happening because "node" gets inserted. Thus:

a href=feedback

directs to page

http://mydomain.org.uk/node/feedback

Which obviously doesn't work.
Ditto, re image/view statements:

a href=image/view/1992

is directed to:

http://mydomain.org.uk/image/view/1992

Can anyone confirm whether this is an issue with 4.7 or did I fail to make settings correct somewhere or forget to install some filter?

Thanks!

Comments

jbc’s picture

oops!

where I was writing about img tags, I typed

a href=image/view/1992

whereas, I should have typed:

img src=image/view/1992

etc.

pwolanin’s picture

For internal/relative URLS with href, etc they now seem to quite a leading slash:
href="/node/25" NOT href="node/25"

---
Work: BioRAFT

artem_sokolov’s picture

I'm planning to move to 4.7. If that would require adding slashes to all pages that have links inside (i have hundrends of them), that would be very bad :(

jbc’s picture

I found it a little surprising...

Fortunately my site is not too heavily populated. It's mainly images.

I wonder if there is a way of updating nodes within mysql... doing a find and replace?

Shalom!
John
eternalpurpose.org.uk

pwolanin’s picture

I know the 4.6->4.7 update script updates some URLs, but since I started with 4.7beta, I didn't pay attention to the details.

---
Work: BioRAFT