Why is my URL not getting encoded properly?

This is my URL of jira “https://seneca-global.atlassian.net/rest/api/2/search?jql=project=“Risk%20Project%20Demo%202”%20AND%20issuetype=Review_Defect%20AND%20created%20>=2018-01-01%20AND%20created<=2018-01-20
Why is getting encoded as %20 and why is = not getting encoded?
Thanks in advance.

Why is getting encoded as %20 and why is = not getting encoded?

What’s creating the url? If you’re encoding in javascript using encodeURIComponentI instead of encodeURI - “=” are not escaped for example.