| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 6494|Reply: 3
Collapse the left

BUG, When you Insert a value contain single quotes in type option topic.

[Copy link]
Post time: 2016-03-07 07:32
| Show all posts |Read mode
According, this topic here: http://codersclub.org/discuzx/fo ... thread&tid=4573

When you insert a value contain single quotes in type option topic, and if you have edit.

Your topic will be change the ' to \' following below:


Can you BUG FIXED it?

This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x
 Author| Post time: 2016-03-08 04:05
| Show all posts
แก้ไขครั้งสุดท้ายโดย jaideejung007 เมื่อ 2016-3-8 08:28

Very nice.

BUT, your fixed bug still be show, when your edit topic again.

HOW TO FIXED:
Add more the stripslashes php function in the line 591 here:
Find:
  1. $_G['forum_optiondata'][$option['optionid']] = $option['value'];
Copy the Code

Replace to:
  1. $_G['forum_optiondata'][$option['optionid']] = stripslashes($option['value']);
Copy the Code


And, vot's are you change the URL path of Discuzml on butbucket?

This is new URL path, right?

https://bitbucket.org/vot/discuz.ml

 Russia

Post time: 2016-03-08 18:37
| Show all posts
Thanx!
Bug fix: #467
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-04-19 14:11 GMT+3 , Processed in 0.055026 sec., 13 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list