You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.IllegalArgumentException: Invalid character '/' for PATH_SEGMENT in "/notify.png"
at org.springframework.web.util.HierarchicalUriComponents.verifyUriComponent(HierarchicalUriComponents.java:422) ~[spring-web-6.1.3.jar:6.1.3]
at org.springframework.web.util.HierarchicalUriComponents$PathSegmentComponent.verify(HierarchicalUriComponents.java:974) ~[spring-web-6.1.3.jar:6.1.3]
at org.springframework.web.util.HierarchicalUriComponents.verify(HierarchicalUriComponents.java:386) ~[spring-web-6.1.3.jar:6.1.3]
at org.springframework.web.util.HierarchicalUriComponents.<init>(HierarchicalUriComponents.java:146) ~[spring-web-6.1.3.jar:6.1.3]
at org.springframework.web.util.UriComponentsBuilder.buildInternal(UriComponentsBuilder.java:445) ~[spring-web-6.1.3.jar:6.1.3]
at org.springframework.web.util.UriComponentsBuilder.build(UriComponentsBuilder.java:433) ~[spring-web-6.1.3.jar:6.1.3]
at run.halo.app.core.extension.reconciler.PluginReconciler.resolveStaticResources(PluginReconciler.java:254) ~[classes/:na]
at run.halo.app.core.extension.reconciler.PluginReconciler.lambda$reconcile$0(PluginReconciler.java:116) ~[classes/:na]
at java.base/java.util.Optional.map(Optional.java:260) ~[na:na]
at run.halo.app.core.extension.reconciler.PluginReconciler.reconcile(PluginReconciler.java:96) ~[classes/:na]
at run.halo.app.core.extension.reconciler.PluginReconciler.reconcile(PluginReconciler.java:65) ~[classes/:na]
at run.halo.app.extension.controller.DefaultController$Worker.run(DefaultController.java:163) ~[classes/:na]
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ~[na:na]
at java.base/java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:264) ~[na:na]
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[na:na]
at java.base/java.lang.Thread.run(Thread.java:840) ~[na:na]
Additional information
/kind bug
/area core
/milestone 2.12.x
The text was updated successfully, but these errors were encountered:
#### What type of PR is this?
/kind bug
/area core
/milestone 2.12.x
#### What this PR does / why we need it:
This PR treats logo as a path when building logo HTTP URL instead of a path segment. The concrete rules of logo is described [here](#5253 (comment)).
See #5253 for more.
#### Which issue(s) this PR fixes:
Fixes#5253
#### Does this PR introduce a user-facing change?
```release-note
None
```
What happened?
当 logo 的路径以
/
开头时会出现如标题所述异常,应该是由于 #5148 改动所致问题出现在:
halo/application/src/main/java/run/halo/app/core/extension/reconciler/PluginReconciler.java
Lines 250 to 255 in 22104fe
能复现问题的插件: https://github.com/monyuan/notify-me
点击查看异常信息
Additional information
/kind bug
/area core
/milestone 2.12.x
The text was updated successfully, but these errors were encountered: