{"id":17305988,"date":"2023-12-28T16:30:59","date_gmt":"2023-12-28T16:30:59","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/query-string-bug\/"},"modified":"2023-12-28T16:30:59","modified_gmt":"2023-12-28T16:30:59","slug":"query-string-bug","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/query-string-bug\/","title":{"rendered":"Query String Bug"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">If I leave the Content to encode in QR code empty to use the current page url and also add a Query String the URL is ending up malformed assuming there are not query strings in the url. Eg URL to encode <code>site.com\/page?foo=bar<\/code> and set query string to add <code>abc=def<\/code> so: <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br \/><code>[kaya_qrcode title_align=\"alignnone\" querystring=\"abc=def\" ecclevel=\"L\" align=\"alignnone\"]<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br \/>the link is ending up as <code>site.com\/page?foo=bar?abc=def<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Can this be fixed to append query string if they already exist please? <\/p>\n","protected":false},"template":"","class_list":["post-17305988","topic","type-topic","status-publish","hentry","topic-tag-query-string"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17305988","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17305988\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=17305988"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}