[Tex/LaTex] Problem while using bibtex reference of a url

bibliographiesbibtexurls

 @online{senfus,
title={article name},
 url= {https://m**.s*/U****d/Om%20MPB/F****g/Kxyzy.pdf},
 }

While citing this reference, I am getting following error because of the term "%" in the url.

Paragraph ended before \BR@@bibitem was complete.\par

Is using tinyurl/google url shortener a good idea for citing the article's url.

Best Answer

You did not mention which bibliography style you use, but most styles wrap the content of the url field in a \url{...} macro, and provide a very basic definition for it that can not handle special characters like %.

The solution is to simply load the url or hyperref package, as those define sophisticated versions of the \url macro that do handle special characters.