I suggest you ...

BUG!!: please fix :)

Hi, found a bug..

if I am creating a link in my template, and part of that link is created using xpath or css selectors, then the shortening fails.

I have tested this many times.

FAIL:
{#shorten}http://www.example.com?wv_name={#select}.oL.aDm.az9 > span{/select}{/shorten}

the result is
https://goo.gl/M6MbiQ
which redirects to
http://www.example.com/?wv_name=%7Bc15b38fa0056abc7e%7D

what is should equal is this:
http://www.example.com?wv_name=Rebecca_test

the shortening function IS working, if I use it on an url without CSS selector or xpath.

so if I shorten like this:
{#shorten}http://www.example.com?wv_name=Rebecca_test
{/shorten}

then it works:
https://goo.gl/5OOSrw
which equals
http://www.example.com?wv_name=Rebecca_test

The css selector is correct, so no errors there. I also tried with {#escape} {/escape} around the css selector and also encoding and decidong using your tags for that - but nothing works

10 votes
Vote
Sign in
(thinking…)
Password icon
Signed in as (Sign out)
You have left! (?) (thinking…)
Benedict Harris shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Password icon
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base