Resource not decoded correctly #42
Labels
No labels
Bug
Cannot Resolve
Completed
Enhancement
Important
Question
Resolved
Security Issue
Suggestion
Todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Nosial/ncc#42
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
While working on TamerLib, I've noticed that a resource file was not decoded when extracting it's contents from the NCC package.
For instance, the contents of the file in the library is as so
And when installing the library with NCC, the same contents of the file is stored as
assigned to @netkas
After decoding the problematic file, it seems to lead to another encoded result
Decoding that results in the expected file
So it looks like NCC is encoding the resource multiple times.
mentioned in commit
20d3116bfe
Fixed the issue, turns out base64 decode's function was actually using
base64_encode
instead ofbase64_decode