pluginsGLPI / barcode

GNU Affero General Public License v3.0
36 stars 35 forks source link

Wrong URL generated by the QRCode [GLPI9.4.2 | Barcode2.4] #48

Closed thomsxm closed 4 years ago

thomsxm commented 5 years ago

Hi, I'm not sure if it's normal or not, but the link that's generated by the QRCode is not the good one. barcodeurl

it's supposed to be : " http://[ip]/glpi/front/computer.form.php?id=1"

thanks, Thom

kungolfkjd commented 5 years ago

Hi, I confirm this issue on GLPI 9.4.2-1, barcode plugin 2.4.0. Folder "/glpi/" gets duplicated to "/glpi/glpi/" in the URL generated for QRcode. Fix would be very much appreciated, as GLPI relies on Apache aliasing, so URL rewrite is not an option. Thanks - Chris

ddurieux commented 5 years ago

is the URL in configuration > general is right?

kungolfkjd commented 5 years ago

The URL in configuration > general is: http://our.domain.local/glpi and system works OK

cedric-anne commented 5 years ago

Hi,

50 should fix this.

Regards

kungolfkjd commented 5 years ago

Hi, thank you very much for your help. Your code correction worked, now the URLs are OK. Best regards - Chris