Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#56 ns_base64encode fails on embedded nulls

Bug
closed-fixed
5
2006-12-01
2006-01-14
Zoran Vasiljevic
No

lexxsrv:nscp 8> ns_base64encode test\0
dGVzdMCA

lexxsrv:nscp 9> base64::encode test\0
dGVzdAA=

The built-in ns_base64encode seems to have
problems with strings containing embedded
characters.

This works though:

lexxsrv:nscp 4> ns_base64encode test
dGVzdA==
lexxsrv:nscp 5> base64::encode test
dGVzdA==

Discussion

  • Logged In: YES
    user_id=95086

    Fixed in HEAD.

     
    • assigned_to: nobody --> vasiljevic
    • labels: --> 715224
    • status: open --> open-fixed
     
    • status: open-fixed --> closed-fixed
     
  • Stephen
    Stephen
    2006-12-01

    • labels: 715224 --> NaviServer - libnsd, libnsthread, nsd
    • milestone: --> 469714
     
  • Stephen
    Stephen
    2006-12-01

    • milestone: 469714 --> 473033
     
  • Stephen
    Stephen
    2006-12-01

    • milestone: 473033 --> Bug