Download & Extend

double URL encoding of anchors in banner

Project:Rotor Banner
Version:6.x-2.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)
Issue tags:anchor, link, url, urlencoding

Issue Summary

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.

Comments

#1

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

#2

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

#3

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

#4

Status:active» fixed

Fixed in CVS.

#5

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

#6

Status:fixed» closed (fixed)

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