forked from davidmoreno/onion
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge upstream #3
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fix Html validation errors.
- Add German translation file.
- Add comment about localization issue with LC_ALL
Wrap 'fileserver_page request handler' into onion_url handler to show usage of 'onion_url_add_handler()' I think this change is important because it is easy to shoot yourself into the foot with something like 'onion_url_add_handler(urls, ".*", fileserver_handler)' ==> The pattern expansions feeds up the whole path.
Otherwise if the new upload is smaller than the old one we get the end of the old file.
Open the read only file is non-destructuve, do it first so failures are less likely to be destructive.
Update ofileserver example
Fix Html validation errors.
- Add German translation file.
- Add comment about localization issue with LC_ALL
Wrap 'fileserver_page request handler' into onion_url handler to show usage of 'onion_url_add_handler()' I think this change is important because it is easy to shoot yourself into the foot with something like 'onion_url_add_handler(urls, ".*", fileserver_handler)' ==> The pattern expansions feeds up the whole path.
Two patches to improve onion_shortcut_rename
There is a small typo in src/onion/handlers/auth_pam.c, src/onion/handlers/path.c, src/onion/handlers/path.h. Should read `removes` rather than `reomves`.
docs: fix simple typo, reomves -> removes
fix typo: lenght -> length
better error message in onion_response_flush
adding onion_request_get_method_name
adding C++ Onion::Request::Method_Name
random-default.c: Don't exit if we read less bytes from /dev/random
improve ONION_ERROR message in onion_response_flush, save errno...
Fix the last-byte-pos value in Content-Range response Return 416 Range Not Satisfiable if the range is beyond the file size
Improve Range support
06-onion.c: Fix value of 'sizeof' when allocating 'pthread_t' array with 'malloc'
This build was not functional on gentoo systems as support for EAPI 5 was dropped. Update the ebuild to EAPI 7 to fix this issue
Change `const std::string` to `const std::string&`
Gentoo: Update ebuild and change its mantainer
Improve indent of code blocks / README
We need to use 'sizeof(random_chars) - 1' as a modulus for 'random_chars' instead of 'sizeof(random_chars)' because the first variant can also return '\0' in the middle of the generated c-string.
Fix the value of a sizeof modulus when computing a random uuid.
…librt in supported platforms only; Fix type mismatch of parameter 'type' in function 'onion_poller_slot_set_type'
Make it be able to compile on OpenBsd
Implement the BEST http status code in the universe, 418 I'm a teapot.
See PR for details
Fix a potential log spamming and DOS attack
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.