允许特殊字符 [英] Allow Special Character

查看:92
本文介绍了允许特殊字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道Web应用程序中特殊字符的缺点.

它们是否会在运行时影响我的应用程序或sql查询?

I want to know what are the disadvantages of special characters in web application.

Are they affect my application or sql query in runtime?

推荐答案

作为个人经验,最近,我们的一位开发人员在数据库密码中使用了特殊字符,并且当我们试图将安装转移到我们的托管公司时,我们遇到了一个奇怪而令人讨厌的问题;仅这个问题就浪费了我们3天的时间,直到我意识到他在密码中使用了特殊字符(只要涉及到主页的加载,Drupal便能够读取数据库,但随后的链接都无法使用) .

因此,我真的很想避免重复这种情况,方法是理解在构建应用程序(尤其是Web)时使用特殊字符可能引起的问题.
As a personal experience, just recently one of our developers had used a special character in the database password, and when we tried to move that installation to our hosting company we run into a bizarre, and nasty problem; this problem alone wasted 3 days of our time, till I realized he had used a special character in the password (Drupal was able to read the database as long as loading of homepage was concerned, but then non of the links from there would work).

So, I really want to avoid the repeat of that scenario by understanding the problems that might arise from using special characters in building the application especially web.


这篇关于允许特殊字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆