Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Programmer Humor
  3. Everyone knows what an email address is, right? (Quiz)

Everyone knows what an email address is, right? (Quiz)

Scheduled Pinned Locked Moved Programmer Humor
programmerhumor
140 Posts 105 Posters 2 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T [email protected]
    This post did not contain any content.
    N This user is from outside of this forum
    N This user is from outside of this forum
    [email protected]
    wrote last edited by
    #19

    Relevant talk from FOSDEM 2018 (warning: poor audio quality): https://youtu.be/xxX81WmXjPg

    1 Reply Last reply
    6
    • T [email protected]
      This post did not contain any content.
      M This user is from outside of this forum
      M This user is from outside of this forum
      [email protected]
      wrote last edited by [email protected]
      #20

      ::: spoiler My top five from this (all valid):

      • ":(){␣:|:&␣};:"@example.com # fork bomb
      • 👉@👈 and poop@[💩]
      • "@"@[@]
      • c̷̨̈́i̵̮̅l̶̠̐͊͝ȁ̷̠̗̆̍̍n̷͖̘̯̍̈͒̅t̶͍͂͋ř̵̞͈̓ȯ̷̯̠-̸͚̖̟͋s̴͉̦̭̔̆̃͒û̵̥̪͆̒̕c̸̨̨̧̺̎k̵̼͗̀s̸̖̜͍̲̈́͋̂͠@example.com
      • fed-up-yet@␣example.com␣ # ␣ = whitespace
        :::
      L T 2 Replies Last reply
      30
      • T [email protected]
        This post did not contain any content.
        bjoern_tantau@swg-empire.deB This user is from outside of this forum
        bjoern_tantau@swg-empire.deB This user is from outside of this forum
        [email protected]
        wrote last edited by
        #21

        I had to make an email address just for paypal because those idiots don't accept subdomains in email addresses.

        F 1 Reply Last reply
        21
        • N [email protected]

          Yeah I feel like the correct answer for anything obsoleted by a more recent RFC should be "Invalid".

          johnedwa@sopuli.xyzJ This user is from outside of this forum
          johnedwa@sopuli.xyzJ This user is from outside of this forum
          [email protected]
          wrote last edited by [email protected]
          #22

          But they will work, and according to the spec, you have to build your system so that it can handle those cases. Obsolete doesn't mean incorrect or invalid, just a "you shouldn't do this any more".

          Obsolete Syntax
          Earlier versions of this standard allowed for different (usually more
          liberal) syntax than is allowed in this version. Also, there have
          been syntactic elements used in messages on the Internet whose
          interpretation have never been documented. Though some of these
          syntactic forms MUST NOT be generated according to the grammar in
          section 3, they MUST be accepted and parsed by a conformant receiver.

          https://datatracker.ietf.org/doc/html/rfc2822#section-4

          F N 2 Replies Last reply
          22
          • T [email protected]
            This post did not contain any content.
            B This user is from outside of this forum
            B This user is from outside of this forum
            [email protected]
            wrote last edited by
            #23

            ::: spoiler Tap for spoiler
            Email addresses can have comments?!
            :::

            F 1 Reply Last reply
            13
            • nessd@lemmy.worldN [email protected]

              14 / 21

              This is the score you get when you answer "valid" for every question. Good job.

              blackmist@feddit.ukB This user is from outside of this forum
              blackmist@feddit.ukB This user is from outside of this forum
              [email protected]
              wrote last edited by
              #24

              I didn't do that but got 14 anyway.

              nessd@lemmy.worldN A 2 Replies Last reply
              6
              • blackmist@feddit.ukB [email protected]

                I didn't do that but got 14 anyway.

                nessd@lemmy.worldN This user is from outside of this forum
                nessd@lemmy.worldN This user is from outside of this forum
                [email protected]
                wrote last edited by
                #25

                Also didn't do that, but that was the text

                1 Reply Last reply
                2
                • M [email protected]

                  ::: spoiler My top five from this (all valid):

                  • ":(){␣:|:&␣};:"@example.com # fork bomb
                  • 👉@👈 and poop@[💩]
                  • "@"@[@]
                  • c̷̨̈́i̵̮̅l̶̠̐͊͝ȁ̷̠̗̆̍̍n̷͖̘̯̍̈͒̅t̶͍͂͋ř̵̞͈̓ȯ̷̯̠-̸͚̖̟͋s̴͉̦̭̔̆̃͒û̵̥̪͆̒̕c̸̨̨̧̺̎k̵̼͗̀s̸̖̜͍̲̈́͋̂͠@example.com
                  • fed-up-yet@␣example.com␣ # ␣ = whitespace
                    :::
                  L This user is from outside of this forum
                  L This user is from outside of this forum
                  [email protected]
                  wrote last edited by
                  #26

                  Spoilers!

                  1 Reply Last reply
                  3
                  • T [email protected]
                    This post did not contain any content.
                    C This user is from outside of this forum
                    C This user is from outside of this forum
                    [email protected]
                    wrote last edited by [email protected]
                    #27

                    Question 5 is incorrect, name@example is a fully valid email address, even after RFC 2822

                    The spec of RFC 2822 defines an address (3.4.1) as:

                    local-part "@" domain
                    

                    domain is defined (3.4.1) as:

                    domain = dot-atom / domain-literal / obs-domain
                    

                    dot-atom is defined (3.2.4) as:

                    dot-atom = [CFWS] dot-atom-text [CFWS]
                    dot-atom-text = 1*atext *("." 1*atext)
                    

                    1*atext meaning at least 1 alphanumeric character, followed by *("." 1*atext) meaning at least 0 "." 1*atext


                    If tomorrow, google decided to use its google top-level domain as an email domain, it would be perfectly valid, as could any other company owning top-level domains

                    Google even owns a gmail TLD so I wouldn't even be surprised if they decided to use it

                    H P 2 Replies Last reply
                    52
                    • T [email protected]
                      This post did not contain any content.
                      hellfire103@lemmy.caH This user is from outside of this forum
                      hellfire103@lemmy.caH This user is from outside of this forum
                      [email protected]
                      wrote last edited by
                      #28

                      I scored 13/21 on https://e-mail.wtf/ and all I got was this lousy text to share on social media.

                      B 1 Reply Last reply
                      22
                      • T [email protected]
                        This post did not contain any content.
                        F This user is from outside of this forum
                        F This user is from outside of this forum
                        [email protected]
                        wrote last edited by [email protected]
                        #29

                        Two of my "favorite" features it didn't even touch on. You can have nested comments:

                        foo(one(two(three(four(five(six(seven)))))))@example.com
                        

                        This will actually fail on that big email regex that gets copied around (originally from Mastering Regular Expressions in 1997), because it can only handle comment nesting to a depth of six. It is actually possible to do indefinite nesting now with recursive regex, but it was developed before that feature existed.

                        RFC822 also allows routing addresses through multiple servers:

                        <@[email protected]:[email protected]>
                        

                        But this is almost always denied on modern email servers because it was abused by spammers.

                        T 1 Reply Last reply
                        34
                        • nessd@lemmy.worldN [email protected]

                          14 / 21

                          This is the score you get when you answer "valid" for every question. Good job.

                          tostiman@sh.itjust.worksT This user is from outside of this forum
                          tostiman@sh.itjust.worksT This user is from outside of this forum
                          [email protected]
                          wrote last edited by
                          #30

                          My score was lower 💀

                          1 Reply Last reply
                          13
                          • bjoern_tantau@swg-empire.deB [email protected]

                            I had to make an email address just for paypal because those idiots don't accept subdomains in email addresses.

                            F This user is from outside of this forum
                            F This user is from outside of this forum
                            [email protected]
                            wrote last edited by
                            #31

                            Pizza Hut doesn't allow dashes in the domain. This prevents me from ordering Pizza Hut with the email under my personal domain. This can be considered a feature.

                            1 Reply Last reply
                            16
                            • johnedwa@sopuli.xyzJ [email protected]

                              But they will work, and according to the spec, you have to build your system so that it can handle those cases. Obsolete doesn't mean incorrect or invalid, just a "you shouldn't do this any more".

                              Obsolete Syntax
                              Earlier versions of this standard allowed for different (usually more
                              liberal) syntax than is allowed in this version. Also, there have
                              been syntactic elements used in messages on the Internet whose
                              interpretation have never been documented. Though some of these
                              syntactic forms MUST NOT be generated according to the grammar in
                              section 3, they MUST be accepted and parsed by a conformant receiver.

                              https://datatracker.ietf.org/doc/html/rfc2822#section-4

                              F This user is from outside of this forum
                              F This user is from outside of this forum
                              [email protected]
                              wrote last edited by
                              #32

                              Some of those "obsolete" things are outright blocked for specific reasons. For example, routing addresses through multiple servers. It was abused by spammers, so it's almost always denied these days.

                              Looks like this:

                              <@[email protected]:[email protected]>
                              
                              1 Reply Last reply
                              6
                              • N [email protected]

                                Yeah I feel like the correct answer for anything obsoleted by a more recent RFC should be "Invalid".

                                E This user is from outside of this forum
                                E This user is from outside of this forum
                                [email protected]
                                wrote last edited by
                                #33

                                Complaints about the quiz? Send them to 💩@💩

                                1 Reply Last reply
                                39
                                • C [email protected]

                                  Question 5 is incorrect, name@example is a fully valid email address, even after RFC 2822

                                  The spec of RFC 2822 defines an address (3.4.1) as:

                                  local-part "@" domain
                                  

                                  domain is defined (3.4.1) as:

                                  domain = dot-atom / domain-literal / obs-domain
                                  

                                  dot-atom is defined (3.2.4) as:

                                  dot-atom = [CFWS] dot-atom-text [CFWS]
                                  dot-atom-text = 1*atext *("." 1*atext)
                                  

                                  1*atext meaning at least 1 alphanumeric character, followed by *("." 1*atext) meaning at least 0 "." 1*atext


                                  If tomorrow, google decided to use its google top-level domain as an email domain, it would be perfectly valid, as could any other company owning top-level domains

                                  Google even owns a gmail TLD so I wouldn't even be surprised if they decided to use it

                                  H This user is from outside of this forum
                                  H This user is from outside of this forum
                                  [email protected]
                                  wrote last edited by
                                  #34

                                  I don't know if they changes the answer to the question, but it now says name@example is valid.

                                  spankmonkey@lemmy.worldS C 2 Replies Last reply
                                  18
                                  • H [email protected]

                                    I don't know if they changes the answer to the question, but it now says name@example is valid.

                                    spankmonkey@lemmy.worldS This user is from outside of this forum
                                    spankmonkey@lemmy.worldS This user is from outside of this forum
                                    [email protected]
                                    wrote last edited by
                                    #35

                                    It says valid but obsolete, which sounds like a contradiction to me.

                                    This is technically valid but considered obsolete. RFC 822 allowed domains without dots, but RFC 2822 made this obsolete.

                                    Do email suffix not indicate a different domain like .org and .com for websites?

                                    1 Reply Last reply
                                    4
                                    • hellfire103@lemmy.caH [email protected]

                                      I scored 13/21 on https://e-mail.wtf/ and all I got was this lousy text to share on social media.

                                      B This user is from outside of this forum
                                      B This user is from outside of this forum
                                      [email protected]
                                      wrote last edited by
                                      #36

                                      5/21 for me LoL 😂

                                      1 Reply Last reply
                                      1
                                      • blackmist@feddit.ukB [email protected]

                                        I didn't do that but got 14 anyway.

                                        A This user is from outside of this forum
                                        A This user is from outside of this forum
                                        [email protected]
                                        wrote last edited by
                                        #37

                                        Same. I answered what i thought was correct and got 14!

                                        dabster291@lemmy.zipD 1 Reply Last reply
                                        4
                                        • H [email protected]

                                          I don't know if they changes the answer to the question, but it now says name@example is valid.

                                          C This user is from outside of this forum
                                          C This user is from outside of this forum
                                          [email protected]
                                          wrote last edited by
                                          #38

                                          It does say it's valid, but also that it's obsolete, and while the RFC does define valid but obsolete specs, there is nothing defining domains without a dot as obsolete, and it is in fact defined in the regular spec, not the obsolete section

                                          H 1 Reply Last reply
                                          25
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups