Tag:Slash
-
About the configuration problem that user-defined fonts cannot be recognized in IE browser
Problem description Today, the customer reported that his computer couldn’t see the Font Icon on the web page in IE browser, but Google browser could. He was confused because this bug didn’t appear in the computers of colleagues around us or her colleagues, so he immediately concluded that it was the configuration problem of her […]
-
Solve the problem of using JSON in PHP_ The problem of Chinese random code missing backslash stored in encode database
Using JSON_ The Chinese data stored in the database by encode should be \ u6c88 \ u9633 \ u7cbe \ u8bda \ u5fd7 \ u8fbeThis kind of deposit is actually u6c88u9633u7cbeu8bdau5fd7u8fbeCause JSON to be used_ The data parsed by decode is incorrect Solution: use the addslashes method to escape and add a backslash addslashes(json_encode($json_arr,true)); This […]
-
Addslashes function of PHP function vulnerability audit-
Define function The addslashes() function returns a string with a backslash before a predefined character. (PHP 4, PHP 5, PHP 7) The predefined characters are: Single quotation mark (‘) Double quotation mark (“) Backslash (\) NULL Tip: this function can be used to prepare strings for strings stored in the database and database query statements. […]
-
MySQL injection bypasses WAF summary
MySQL injection bypasses WAF summary Filter equals sign select * from user where id = 2; select * from user where id like 2; select * from user where id rlike 2; select * from user where id regexp 2; select * from user where id > 1 and id < 3; select * from […]
-
Python:SyntaxError:(unicode error) ‘unicodeescape’ codec can’t decode bytes in pos
Reading time |0.7 minutes word count |1123.2 characters primary coverage |1. Introduction & background 『Python:SyntaxError:(unicode error) ‘unicodeescape’ codec can’t decode bytes in pos』 Author | SCscHero Writing time | 2022/1/10 PM8:8 Article type |Series Degree of completion |Completed motto Every great cause has a trivial beginning. 1、 Introduction & backgroundCompletion: 100% a) Dealing with problems […]
-
The great role of an insignificant character “/” in the nginx configuration is lost by a thousand miles
As a lightweight and high-performance web service software, nginx is widely used because of its characteristics of less memory and strong concurrency. Many large domestic Internet companies also favor nginx. Like bat (Baidu, Alibaba and Tencent), TMD (headlines, meituan and didi) and so on. Students who have used nginx know that you only need to […]
-
About in SAP Spartacus feature library_ index. SCSS file
As shown in the following figure: there is a quick order folder_ index. SCSS file, which imports the index under the styles folder: However, there is no index. XML in the styles folder SCSS file, only one_ index. scss. However, after clicking the first line of code in the figure above with Ctrl + click, […]
-
Python learning note 9: regular expressions
Regular expression is a text pattern that includes ordinary characters (for example, letters between a and z) and special characters (called “metacharacters”).Regular expressions use a single string to describe and match a series of strings that match a syntactic rule.Regular expression is a special character sequence, which can help you easily check whether a string […]
-
Python crawler must learn: regular expression explanation
The text and pictures of this article come from the network, only for learning and communication, and do not have any commercial purpose. If you have any questions, please contact us in time for handling. The following article is an introduction to level 1 AI, written by little brother Wu Novices and Xiaobai who have […]
-
Basic problems encountered in writing Django.
When writing Django, I encountered many small problems that needed time to solve. Divide into several categories and add them slowly: Restart Apache:Generally, you do not need to restart to modify the template.You need to restart to modify views.py, but sometimes you can see the effect without restarting, but there will be problems when you […]
-
Leetcode-071-simplified path
Simplified path Title Description: give you a string path, which indicates the UNIX style absolute path to a file or directory (starting with ‘/’), please convert it into a more concise standard path. In UNIX style file system, a dot (.) indicates the current directory itself; In addition, two dots (..) indicate switching the directory […]
-
Springboot canal data synchronization solution
Springboot canal data synchronization solution 1、 Demand In the case of multiple microservices databases, canal can be used to replace the trigger. Canal is proposed in response to Alibaba’s business requirements of cross machine room synchronization. Canal obtains changes for incremental subscription & Consumption Based on database log analysis. Whether it is necessary for the […]