Midori.Database.Prepare should throw an exception when the user tries to bind a non-existing variable

Bug #1432200 reported by The Lemon Man
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Midori Web Browser
Fix Released
High
Cris Dywan

Bug Description

Quoting the example made on IRC, it should prevent expressions like

'SELECT a FROM b WHERE c=:d'.bind ('d', 3)

to succeed.

Related branches

Cris Dywan (kalikiana)
Changed in midori:
status: New → Confirmed
assignee: nobody → Christian Dywan (kalikiana)
importance: Undecided → High
milestone: none → 0.6.0
RabbitBot (rabbitbot-a)
Changed in midori:
status: Confirmed → Fix Committed
Cris Dywan (kalikiana)
Changed in midori:
status: Fix Committed → Fix Released
Cris Dywan (kalikiana)
Changed in midori:
milestone: 0.6.0 → 0.5.10
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.