rfc

Looking to build some regex to validate domain names (RFC 952/ RFC 1123)

旧巷老猫 提交于 2019-12-13 18:33:45
问题 One of our clients validates email addresses in their own software prior to firing it via an API call to our system. The issue is however that their validation rules do not match those our system, therefore they are parsing and accepting addresses which break our rules. This is causing lots of failed calls. They are parsing stuff like "dave@-whatever.com", this goes against RFC 952/RFC 1123 rules as it begins with a hyphen. They have asked that we provide them with our regex list so they can

url scheme for ssh: Calling command on remote host

梦想的初衷 提交于 2019-12-13 16:04:41
问题 Is there an url scheme for calling a command on a remote host via ssh? In my use case I want to call this: psql -c "select * from my_table order by id;" There seams to be a RFC for the connection paramters. Example: from https://tools.ietf.org/id/draft-salowey-secsh-uri-00.html#anchor8 ssh://user@host.example.com ... But how to encode the above psql command into an url? 回答1: There seams to be a RFC for the connection paramters. Example: from https://tools.ietf.org/id/draft-salowey-secsh-uri

What does this ambiguous pronoun represent in the text of RFC 4880?

爷,独闯天下 提交于 2019-12-12 11:42:29
问题 What does RFC 4880 sec 5.1 mean by " this "? The value "m" in the above formulas is derived from the session key as follows. First, the session key is prefixed with a one-octet algorithm identifier that specifies the symmetric encryption algorithm used to encrypt the following Symmetrically Encrypted Data Packet. Then a two-octet checksum is appended, which is equal to the sum of the preceding session key octets, not including the algorithm identifier, modulo 65536. This value is then encoded

What is RFC-compliant URI

让人想犯罪 __ 提交于 2019-12-12 11:16:37
问题 While going through features of .NET framework 4.5, I found that it supports RFC-compliant URIs. What does it mean to have RFC-compliant URI support? 回答1: RFC is a set of internet standards that define various aspects of internet protocols - in your case the standard format of an URI. You can find the relevant standard here: http://www.ietf.org/rfc/rfc2396.txt RFC 2396 defines explicitly what are the parts that make up an URI (for example the scheme, authority, path etc.) and what are the

Why should I convince developers to use port 587 for all SMTP communication?

别等时光非礼了梦想. 提交于 2019-12-12 08:33:52
问题 There is a growing trend to use port 587 for all client to MTA communications. It's in a standards track RFC: http://www.ietf.org/rfc/rfc2476.txt My question is "Why?". Why have 2 instances of a SMTP server running on the same server, if they both do the same thing? What security feature does it provide, besides giving me 2 things to troubleshoot as an administrator. This just seems like unnecessary complication that isn't needed unless the ISP blocks port 25. Even then, if the ISP is

Changing NALU h.264/avc, for RTP encupsulation

醉酒当歌 提交于 2019-12-12 03:22:46
问题 What I can and cant change in NALU in terms of syntex and size, if the nal is meant for RTP encupsulation? 回答1: You can change whatever you want, provided that resulting bit stream is still compliant to: MPEG-4 Part 10 Specification (H.264) RTP RFCs 3550 (RTP), 3984 (RTP Payload for H.264) 来源: https://stackoverflow.com/questions/7560060/changing-nalu-h-264-avc-for-rtp-encupsulation

So nginx is not interpreting folded headers correctly?

China☆狼群 提交于 2019-12-11 23:39:36
问题 HTTP/1.1 header field values can be folded onto multiple lines if the continuation line begins with a space or horizontal tab. All linear white space, including folding, has the same semantics as SP. A recipient MAY replace any linear white space with a single SP before interpreting the field value or forwarding the message downstream.(quoted from here) Here's my server side script,which just dumps the cookie content: var_dump($_COOKIE);exit; Here comes my test,please pay attention to the

SCIM (System for Cross-domain Identity Management) core supported attributes

别来无恙 提交于 2019-12-11 16:59:22
问题 We are implementing SCIM Resource Provider for Users, Groups and a couple of custom resources. SCIM Core Schema RFC 7643 defines User resource so, that only userName and core attributes ( id , schemas ) are required . Plus it defines optional attributes like name, profileUrl, etc. Some optional attributes do not make sense in our context (e.g. ims ) or are not supported or very expensive to be supported. From the other hand, other optional attributes like name should be "required" and should

How can I get the color of a Panel pixel at the mouse location (RFC)

冷暖自知 提交于 2019-12-11 14:56:23
问题 I love SO. In 8 out of 10 questions it produces a straightforward and immediately usable answer. Or at least explains why my question is somehow wrong. So I found it strange that I couldn't find an answer to my liking for this simple and, I had asumed, rather common question. After searching high and low I patched together the below solution. It works alright but I wonder: Are there flaws in it? (e.g.: do I need the dispose?) Is there a better solution, maybe with less copying going on? I'd

RFC Repository of programming RFC's with ability to direct-link sections or even lines?

家住魔仙堡 提交于 2019-12-11 06:06:20
问题 Forgive me if this is the wrong place to ask this, I feel like the question is slightly off-topic even though it is also about programming. I am inputting todo-tasks for my WebDAV-project into my issue tracker, as I read through the relevant RFC's, and it would be nice to be able to add a link in my issue text directly to the relevant text, instead of just a link to the RFC file with a section number in the issue text, and then I have to use the find function to find it. For instance, a link