Select Multiple not escaping apostrophes

QuestionsSelect Multiple not escaping apostrophes
Stephen asked 2 years ago

Hi Abu,

With the latest release the ‘Select Multiple’ control generates a SQL error if any of the values contain apostrophes.

Thanks in advance,

Stephen

3 Answers
Abu Ghufran Staff answered 2 years ago

Hello,

I’m unable to generate this issue. I tested with the online demos.
Can you please tell the steps to get this issue.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Abu Ghufran Staff replied 2 years ago

Also share code / screenshot to generate the case OR email me files at [email protected]

Stephen answered 2 years ago

Hi Abu,

I just tested with the demo, but the demo passes the ID in the select so does not generate the error.

If you change the code to pass the name it will cause the non escaped apostrophe error, as per  screenshot.

View post on imgur.com

Thanks, Stephen

Abu Ghufran Staff answered 2 years ago

This issue is fixed now and emailed you an updated build.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

3 + 10 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?