double URL encoding of anchors in banner

TechnoBuddhist - May 28, 2009 - 20:40
Project:Rotor Banner
Version:6.x-2.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Issue tags:anchor, link, url, urlencoding
Description

I've setup my rotor content(banner) and in the "link URL" field I have put a named anchor, eg. mypage#section1

when I click the banner the address bar on the browser is url encoded twice to become 'mypage%2523section1'.

The %25 is the url encoding of the % symbol, so it looks like it's url encoding 'mypage%23section1'. Indeed when I hover over the banner, the status bar at bottom of my browser says 'mypage%23section1' so the act of clicking the banner must do the 2nd url encoding!?

If I actually type the url 'mypage%23section1' it shows only the main top of page, not section1 which is further down the page, so url encoding doesn't work anyway.

'mypage' is a urlalias if it helps.

#1

mrfelton - May 28, 2009 - 20:46

can I see this problem in action? You have a link to the page?

#2

mrfelton - May 28, 2009 - 20:55

ah ok, I can replicate this problem and can confirm it is an issue.

#3

TechnoBuddhist - May 28, 2009 - 21:49

WOW!!! that was a quick reply!!! Chapeau! glad you can reproduce it, my build is all on my local laptop anyway.

#4

mrfelton - May 29, 2009 - 08:55
Status:active» fixed

Fixed in CVS.

#5

TechnoBuddhist - May 30, 2009 - 16:39

Thank you so much! Very kind of you to fix it so quickly!

#6

System Message - June 13, 2009 - 16:40
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.