[exim-dev] [Bug 2687] AUTH PLAIN should provide better suppo…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: admin
Ημερομηνία:  
Προς: exim-dev
Αντικείμενο: [exim-dev] [Bug 2687] AUTH PLAIN should provide better support for quoting circumflexes
https://bugs.exim.org/show_bug.cgi?id=2687

earl_chew@??? changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #1356|0                           |1
        is obsolete|                            |


--- Comment #2 from earl_chew@??? ---
Created attachment 1357
--> https://bugs.exim.org/attachment.cgi?id=1357&action=edit
Test program illustrating defect, and a revised proposed solution

After additional testing, I modified the rules to add another to support a
transform from ^^^~ -> ^.

This is useful so that the credentials can be written unambiguously by using
^^^@ as a separator that will be replaced by a single nul, and spelling each
circumflex as ^^^~.


  1. Two consecutive circumflexes followed by ^@ are replaced by a
     single nul. (^^^@ -> \0)
  2. Two consecutive circumflexes followed by ^~ are replaced by a
     single circumflex. (^^^~ -> ^)
  3. Two consecutive circumflexes followed by ^^ are replaced by a
     pair of circumflexes. (^^^^ -> ^^)
  4. Three consecutive circumflexes followed by x, where is
     neither @ nor ^, are replaced by a single circumflex, a single nul,
     and x. (^^^x -> ^\0x)
  5. Two consecutive circumflexes are replaced by a single
     circumflex. (^^ -> ^)
  6. A single circumflex is replaced by a single nul. (^ -> \0) */




-----
# In this proof of concept, nuls are shown as dots for legibility:


^^^@one^^^@two
Current ^^@one^^@two
Proposed .one.two

^^^@^^^~one^^^~^^^@^^^~two^^^~
Current ^^@^^~one^^~^^@^^~two^^~
Proposed .^one^.^two^

--
You are receiving this mail because:
You are on the CC list for the bug.