Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Issue with @ extension='html'

Avatar

Level 2

I am facing issue with sightly href="${url @ extension='html'}" . html extension was removing all the empty query parameter (query param which dont have any value) from the url and keeping only those which has value.

e.g. original url -  endpoint.html?param1=&param2=val2

       corrected url after @ extension = endpoint.html?param2=val2

All of a sudden it has stopped removing those empty params. Any suggestions?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

I checked in AEM 6.3, its working for me.

can you try with context='uri'

View solution in original post

0 Replies

Avatar

Correct answer by
Community Advisor

Hi,

I checked in AEM 6.3, its working for me.

can you try with context='uri'