* Fix plugin /public handling for subpaths Plugins support a `public` folder in the bundle automatically being accessible at `<site_url>/plugins/<plugin_id/public/`, but it seems support for a `site_url` with a subpath has been broken for some time. I tried to figure out when this stopped working, but gave up after a while and just focussed on the requisite changes plus tests. * simplify comment * more testing coverage, and simpler diff * try cleaning up plugins after tests * skip TestServePluginPublicRequest to isolate build issue * Revert "skip TestServePluginPublicRequest to isolate build issue" This reverts commit 62d0e4e427c7cf7b7f9b09202ce10cd5f1a56bca. * do th.TearDown last by using t.Cleanup vs. defer Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Mattermost Build <build@mattermost.com>
15 строки
659 B
Plaintext
15 строки
659 B
Plaintext
-----BEGIN PGP SIGNATURE-----
|
|
|
|
iQGzBAABCAAdFiEE8/rOReDeZCyL1qjmTHxlYsGSzB8FAmOaRXoACgkQTHxlYsGS
|
|
zB8H1Av+MuNxBuQFxNvORGcudExCAAgQZb3ykYNVxPT1CzwVdd16B+VvRyt3+PKz
|
|
nSsyYyrdvd2xpdaEXFHBA8RxS5ZWCz/hkrdxUhBUWV8O5OUMOHDYvetWc6/9GeuR
|
|
3dd4VElpLsEs6hIpwnejR1EouNr5OhxstpnB2AOz5N7LWlG5lTKhaHs1zN1uLc4f
|
|
GmdJZ+5+PYm1UUipFj4kolkI+44Ytl6mj+tTyC4VJAj0mwnXQtp/JdFcDmmeRrTI
|
|
AwmanJKQlK3yw331FYSd/CXuqCGOh157X7Z5P2Mtr3ZOaNj7qLY0mjweqxjj4fnN
|
|
YTUu22KhRLGzggEbTg+5huYhtvqa1b87EcH6ukxWoBYQpFK+TyyhuX3ZeT5x6lFi
|
|
8SP9o/9KcQxB5oD6X5FGMR4v5VDosNnNuqW8G7g4fkcjQKY65tnX75G5Ih156BAP
|
|
dfZ6+nKCQvXgv1XRymF3UrJeddXtOMQzh4aSvYwwy46qNMPYMeDq6PoMXGVNeylP
|
|
bTrjLEtE
|
|
=OvPw
|
|
-----END PGP SIGNATURE-----
|