bptato
30cf570af9
Fix std/base64.decode out of bounds read ( #23526 )
...
inputLen may end up as 0 in the loop if the input string only includes
trailing characters. e.g. without the patch, decode(" ") would panic.
2024-04-22 09:44:33 +02:00
tersec
26f2ea149c
remove unnecessary side-effects from base64.encode(mime) ( #22986 )
...
Fixes https://github.com/nim-lang/Nim/issues/22985
2023-11-25 20:52:42 +01:00
ringabout
4fa86422c0
stdlib tests now check refc too ( #21664 )
...
* stdlib tests now check refc too
* typo
* fixes line numbers
* disable cpp
* do not touch
2023-04-21 15:37:58 +02:00
ringabout
3d2f0e2c7c
make more standard libraries work with nimPreviewSlimSystem ( #20343 )
...
* make more standard libraries work with `nimPreviewSlimSystem`
* typo
* part two
* Delete specutils.nim
* fixes more tests
* more fixes
* fixes tests
* fixes three more tests
* add formatfloat import
* fix
* last
2022-09-27 20:06:23 +02:00
flywind
98cebad7de
enable style:usages for stdlib tests [backport: 1.6] ( #19715 )
...
* enable style:usages for stdlib tests
* freeAddrInfo
* more tests
* importc
* bufSize
* fix more
* => parseSql and renderSql
2022-04-13 11:53:02 +02:00
Timothee Cour
9ca3218a6d
improve tbase64.nim ( #17964 )
2021-05-07 17:40:16 -07:00
Andreas Rumpf
fc5dd11b3d
fixes #13722 ( #13729 )
...
* fixes #13722
* better fix
2020-03-23 15:47:10 +01:00
Juan Carlos
70d93636cb
Add Base64 safe ( #13672 )
...
* Implement RFC-4648 Section-7
* https://github.com/nim-lang/Nim/pull/13672#issuecomment-600993466
2020-03-20 10:21:42 +01:00
treeform
5ba932e43c
About 50% faster base64 implemention. ( #12436 )
2019-10-17 09:50:00 +02:00