8000 Resolve "Add exception handling to list of Web FTP Command" by Apdul0329 · Pull Request #14 · alpacanetworks/alpamon · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Resolve "Add exception handling to list of Web FTP Command" #14

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

Merged
merged 3 commits into from
Nov 18, 2024

Conversation

Apdul0329
Copy link
Contributor

As mentioned in #12, The following bugs in the Web FTP system have been addressed:

  • list command could cause a stack overflow if there is no depth limit.
    • Exception handling has been added for cases where depth exceeds the limit.
  • The absence of exception handling for symbolic links could lead to a stack overflow.
    • Exception handling for symbolic links has been added.

To prevent stack overflows caused by
excessively large depth values in list command,
add exception handling.
If depth exceeds 3, an error response is returned.
To avoid errors caused by recursive behavior of
listRecursive() on symbolic links, add exception
handling specifically for symbolic links.
To accommodate the front-end team's
requests, add new error types and fields.
@Apdul0329 Apdul0329 added bug Something isn't working enhancement New feature or request labels Nov 15, 2024
@Apdul0329 Apdul0329 self-assigned this Nov 15, 2024
@Apdul0329 Apdul0329 linked an issue Nov 15, 2024 that may be closed by this pull request
Apply golint
@royroyee royroyee merged commit e2ca5bf into main Nov 18, 2024
1 check passed
@royroyee royroyee deleted the 12-add-exception-handling-to-list-of-web-ftp-command branch November 18, 2024 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add exception handling to list of Web FTP Command
2 participants
0