Skip to content

normalize_link does not work as expected #17

@takipipo

Description

@takipipo

Input

normalize_link("https://thaitechnewsblog.wordpress.com/2022/08/23/%e0%b8%9f%e0%b8%ad%e0%b8%a3%e0%b9%8c%e0%b8%94-%e0%b9%80%e0%b8%88%e0%b9%80%e0%b8%99%e0%b8%ad%e0%b9%80%e0%b8%a3%e0%b8%8a%e0%b8%b1%e0%b8%99%e0%b9%83%e0%b8%ab%e0%b8%a1%e0%b9%88-%e0%b8%9e%e0%b8%a3%e0%b9%89/")

Expected Result

>> " WSLINK "

Actual Result

>> ' WSLINK %e0%b8%9f%e0%b8%ad%e0%b8%a3%e0%b9%8c%e0%b8%94-%e0%b9%80%e0%b8%88%e0%b9%80%e0%b8%99%e0%b8%ad%e0%b9%80%e0%b8%a3%e0%b8%8a%e0%b8%b1%e0%b8%99%e0%b9%83%e0%b8%ab%e0%b8%a1%e0%b9%88-%e0%b8%9e%e0%b8%a3%e0%b9%89/'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions