Skip to content

a String variable with a http url will parse with escaped slash  #120

Open

Description

@UlTriX
@(url: String)

@url will parse with escaped slash (/)

like so https:\/\/

Is there any workaround?

Thanks

Pedro

Activity

  1. mkurz commented on Dec 4, 2025

    @mkurz
    Member

    Not sure what you mean. Either I misunderstand or this 9 year old issue is fixed meanwhile.

    @(url: String)
    @url
    

    called from controller via

    Ok(views.html.index.render("https://www.google.com"))
    

    renders as

    https://www.google.com
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions