[MXS-2289] Hintfilter accepts invalid comment syntax Created: 2019-01-23 Updated: 2019-03-04 Resolved: 2019-02-19 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | hintfilter |
| Affects Version/s: | 2.3.3 |
| Fix Version/s: | 2.4.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | markus makela | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
The comment syntax for a single-line comment uses three characters: two hyphens followed by a space. If the trailing space is missing, the server does not recognize it as a comment and treats it as a syntax error. The hintfilter accepts the double hyphen even if the trailing space is missing when it should be ignored. |