You are not logged in.
Pages: 1
Hello,
in mormot.rest.http.server unit of mormot2, there is a code as below at 1568 line.
initialization
assert(length(FAVICON_BINARY) = 510);
But in my environment (Win10, Delphi XE5) length(FAVICON_BINARY) is 491.
Please let me know which means the above assert(...) and why check the length?
Offline
My system's code page is 949.
Offline
This is a typical code page bug of Delphi....
Please try https://github.com/synopse/mORMot2/commit/c89c5632
I have use base-64 encoding, so it should work fine on all systems.
Sorry for the inconvenience.
Offline
It works well.
Thanks ab.
Offline
Pages: 1