Giter Club home page Giter Club logo

Comments (6)

austinheap avatar austinheap commented on July 30, 2024 2

Apologies for the late feedback on this -- but it seems misguided to allow values that don't adhere to an existing RFC. I understand the argument for ease of use, but I'd argue that ease of parsing against known RFCs should hold precedent in the specification itself. There are specs already, like humans.txt that are designed for 'ease of human use', so I'd vote for rigidity and technical cleanliness over trying to squeeze unstructured data into this directive.

from security-txt.

tomnomnom avatar tomnomnom commented on July 30, 2024

I think I can shed a bit of light into that decision - we did in fact toy with that very idea.

The main result of that conversation, however, was that people are free to use tel and mailto prefixes as they're valid URIs, but we wanted it to be easier for humans to read and write the files - and we thought that email addresses and phone numbers tend to read more naturally without the prefixes.

In writing a couple of parser implementations I determined it to not be too much extra effort to allow the prefixless phone numbers and email addresses, so it made it into the spec as a balance of "usability" and "not making parsing too difficult"

from security-txt.

nightwatchcyber avatar nightwatchcyber commented on July 30, 2024

Got it, I am adding some language clarifying this to the draft

from security-txt.

tomnomnom avatar tomnomnom commented on July 30, 2024

Good idea! :)

from security-txt.

bortzmeyer avatar bortzmeyer commented on July 30, 2024

Since security.txt is intended to be parsable by programs, the readability is not so important. Simplifying the grammar by just defining the value as an URI would be more homogeneous, and would allow other ways to contact people such as XMPP.

from security-txt.

EdOverflow avatar EdOverflow commented on July 30, 2024

Done: #81.

from security-txt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.