QR Code not working

Bug #1256568 reported by Akshay Kalose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Vesuvius
Confirmed
Medium
Ramindu Deshapriya

Bug Description

Create a new person report, or open up an existing one. Then, scroll all the way to the bottom. Try use that with your mobile device, it didn't recognize for me. So then I too a screenshot and uploaded it to http://zxing.org/w/decode.jspx where it shows just a few bytes, and not really a link to the reported person.

Changed in vesuvius:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Ramindu Deshapriya (rasade88)
Revision history for this message
Akshay Kalose (akshayproductions) wrote :

After messing around, I figured out that makePageUrl() works, so the culprit was goo_gl class. Then, after some time of experimenting again, I figured out

that aparently there was an error each time. (object(stdClass)#292 (1) { ["error_message"]=> string(15) "Invalid Captcha" })

from the json decoded curl response.

Also, this class was made in 2010, so I went to the author's website to find that his own Googl Shortner didn't work. (http://marcusnunes.com/api-goo.gl.php)

So here are the changes that I have made:

Deleted old goo_gl class

Made my own googlUrl class :)

My class can make short url and get long url's from the short url :P

(Fixed another bug) made changes to the makePageURL function because it returned with a extra /.

Ex, go to http://127.0.0.1/edit?puuid=vesuvius.sahanafoundation.org%2Fperson.101 and it would return http://127.0.0.1//edit?puuid=vesuvius.sahanafoundation.org%2Fperson.101

Problem: If you keep doing this, then it will keep generating the goo.gl's and eventually someone might get the QR code for

http://127.0.0.1//////////edit?puuid=vesuvius.sahanafoundation.org%2Fperson.101

So, I have fixed this problem in the makePageURL function.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.