Skip to content
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

[WPE] Disable FTP directory support by default #1153

Conversation

blino
Copy link
Contributor

@blino blino commented May 30, 2022

0655304

[WPE] Disable FTP directory support by default
https://bugs.webkit.org/show_bug.cgi?id=241094

Reviewed by Adrian Perez de Castro.

* Source/cmake/OptionsWPE.cmake:
FTP directory support is disabled by default in the GTK port, and has
been removed in major browsers (Firefox, Chrome).
Disabling it also saves 24 kB on the library size for an ARMv7 build.

Canonical link: https://commits.webkit.org/251865@main

Copy link
Contributor

@aperezdc aperezdc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no strong opinion about changing the default, but I suppose it's not much of a hassle to disable it by hand when doing a custom build either.

Opinions @philn, @zdobersek, @magomez?

@webkit-early-warning-system webkit-early-warning-system added the merging-blocked Applied to prevent a change from being merged label May 30, 2022
@blino
Copy link
Contributor Author

blino commented May 30, 2022

I have no strong opinion about changing the default, but I suppose it's not much of a hassle to disable it by hand when doing a custom build either.

This change is mostly to align with the GTK port defaults, and with other browsers which removed FTP support in the past year because of poor protocol security.

And for WPE which mostly targets embedded targets, printing the content of a FTP directory is not really useful.

@philn
Copy link
Member

philn commented May 31, 2022

No objection. BTW unrelated, the API tests are broken (webkit-settings, java stuff).

@blino
Copy link
Contributor Author

blino commented Jun 2, 2022

No objection. BTW unrelated, the API tests are broken (webkit-settings, java stuff).

Maybe related to #1098 ?
cc @lauromoura

@aperezdc
Copy link
Contributor

aperezdc commented Jun 2, 2022

No objection. BTW unrelated, the API tests are broken (webkit-settings, java stuff).

Maybe related to #1098 ? cc @lauromoura

Yes, that was the patch shuffling around the API tests for the Java setting. The failures are independent from the change introduced by this patch.

@zdobersek zdobersek added merge-queue Applied to send a pull request to merge-queue and removed merging-blocked Applied to prevent a change from being merged labels Jun 27, 2022
https://bugs.webkit.org/show_bug.cgi?id=241094

Reviewed by Adrian Perez de Castro.

* Source/cmake/OptionsWPE.cmake:
FTP directory support is disabled by default in the GTK port, and has
been removed in major browsers (Firefox, Chrome).
Disabling it also saves 24 kB on the library size for an ARMv7 build.

Canonical link: https://commits.webkit.org/251865@main
@webkit-early-warning-system webkit-early-warning-system force-pushed the eng/WPE-Disable-FTP-directory-support-by-default branch from d56f6af to 0655304 Compare June 27, 2022 09:21
@webkit-commit-queue
Copy link
Collaborator

Committed 251865@main (0655304): https://commits.webkit.org/251865@main

Reviewed commits have been landed. Closing PR #1153 and removing active labels.

@webkit-early-warning-system webkit-early-warning-system merged commit 0655304 into WebKit:main Jun 27, 2022
@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants