可以HTTP POST变量要区分大小写? [英] Can http POST variables be case sensitive?

查看:4591
本文介绍了可以HTTP POST变量要区分大小写?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个调用一个用户名和密码,另一个Web服务来验证用户身份到现场代理中,所有的正常形式的认证是由代理处理,但随后它需要一个Web服务代理交谈后面的远程web服务数据库,以确定用户是否实际有效。我要确保密码传递给远程服务在安全性/强密码的原因大小写敏感的方式。

I have a web service proxy that calls another web service with a user name and password to authenticate a user to the site the proxy is in. All of the "normal" forms authentication is handled by the proxy but it then needs to talk to a database behind the remote web service to determine if a user is actually valid. I need to ensure that the password is passed to the remote service in a case sensitive manner for security/strong password reasons.

在present它发出一个HTTP GET通过SSL但作为GET使用MVC的URL与它的细节是不区分大小写。

At present it's issuing an http GET over SSL but as the GET uses an MVC url with the details in it's not case sensitive.

如果我更改为POST我会得到区分大小写?

If I change this to POST will I get case sensitivity?

推荐答案

HTTP参数区分大小写。

HTTP parameters are case sensitive.

我迟至今天经历了这第一手资料。我有我用于测试在开发web应用程序的旧的HTML表单,自创立形式我已经改变了参数之一的一个字符的大小写。当我今天想再次使用它我的webapp不承认旧的变量名。如果HTTP协议定义了参数名称不区分大小写这应该仍然工作。

I experienced this firsthand as late as today. I had an old HTML form I used for testing while developing a webapp, and I've changed the case of one character of one of the parameters since the creation of the form. When I today tried to use it again my webapp didn't recognize the old variable name. If the HTTP protocol had defined parameter names as case insensitive this should still have worked.

你的配方来看,似乎更有可能的问题是,你的程序是不区分大小写。

Judging by your formulations, it seems more likely the problem is that your programs are not case sensitive.

这篇关于可以HTTP POST变量要区分大小写?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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