Project

General

Profile

Actions

Bug #6203

closed

Error handling username with single quote in Captive Portal SQL Database

Added by Phillip Davis over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Captive Portal
Target version:
Start date:
04/19/2016
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.3
Affected Architecture:

Description

Forum: https://forum.pfsense.org/index.php?topic=110243.0

Single quotes in user names need to be escaped as 2 single quotes in order to insert them as string literals in SQL statements.

I suspect this was also a problem in older versions prior to 2.3, but for whatever reason did not cause a "crash"report.

Actions

Also available in: Atom PDF