Skip to content

bug(JsonStringLocalizer): add type check prevent endless loop #4652

@izanhzh

Description

@izanhzh

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

GetStringSafelyGetAllStrings这两个方法中,存在个死循环的可能:
image

Expected Behavior

在上述第2步中,增加判断排除自身避免死循环

Interactive render mode

Interactive Server (Interactive server-side rendering (interactive SSR) using Blazor Server)

Steps To Reproduce

xxx

Exceptions (if any)

image

.NET Version

dotnet all version

Anything else?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions