<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 6: mod_security breaks PHP QR Code</title><link href="https://sourceforge.net/p/phpqrcode/bugs/6/" rel="alternate"/><link href="https://sourceforge.net/p/phpqrcode/bugs/6/feed.atom" rel="self"/><id>https://sourceforge.net/p/phpqrcode/bugs/6/</id><updated>2020-10-02T02:48:30.801000Z</updated><subtitle>Recent changes to 6: mod_security breaks PHP QR Code</subtitle><entry><title>mod_security breaks PHP QR Code</title><link href="https://sourceforge.net/p/phpqrcode/bugs/6/" rel="alternate"/><published>2020-10-02T02:48:30.801000Z</published><updated>2020-10-02T02:48:30.801000Z</updated><author><name>Joseph</name><uri>https://sourceforge.net/u/josephur/</uri></author><id>https://sourceforge.net5af402b639e00bf71f95ed60f17df1b3659b7ad0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Just moved webhosting from Godaddy to Bluehost and now PHP QR Code's generation gets flagged and killed by mod_security for some reason.&lt;/p&gt;
&lt;p&gt;"Not Acceptable!&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security."&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I'm trying to work with them to get it to work again as we use the qrcode function in our POS system.  Not sure what is making it freak out..&lt;/p&gt;
&lt;p&gt;I have found if I use QRcode::png("https://site.com"); it works, but adding www. makes it not function, so at first I thought well I'll just use str_replace and get rid of the "www.", however this does not work either.  Not sure if it is the length of the request, or what.  The normal parameters I pass to the QRCode function are similar to this:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.site.com/blah/blah/index.php?func=myfunc&amp;amp;myparam=1234&amp;amp;myparam2=1234" rel="nofollow"&gt;http://www.site.com/blah/blah/index.php?func=myfunc&amp;amp;myparam=1234&amp;amp;myparam2=1234&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>