dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

[BUG] When logging into the system, cookie path not specified

Open yh2388 opened this issue 6 years ago • 4 comments

*For better global communication, please give priority to using English description, thx! *

Describe the bug 登录后设置的cookie未指定path,当我修改了/login接口的路径时,例如改为/ds/login,导致其他非/ds路径下的接口都无法获取到登录后的cookie中的sessionId。

[The cookie set after login does not specify the path. When I modify the path of the /login interface, such as changing it to '/ds/login', the other interfaces under the non '/ds' path cannot get the sessionId in the cookie after login]

Which version of Dolphin Scheduler: -[1.2.1-release]

**Requirement or improvement

  • Whether to specify the Cookie path as "/"?

yh2388 avatar Feb 18 '20 04:02 yh2388

good idea

could you submit a pr to solve this bug?

davidzollo avatar Feb 25 '20 14:02 davidzollo

good idea

could you submit a pr to solve this bug?

Ok! I will do that.

yh2388 avatar Feb 26 '20 11:02 yh2388

Is there any reason you want to change URL path?

zhongjiajie avatar Jan 04 '22 10:01 zhongjiajie

Closed because no response in a long time

lenboo avatar Jan 05 '22 03:01 lenboo