Skip to content

net/url: issue with encoding spaces #4013

@gopherbot

Description

@gopherbot

by tech163@sliceone.com:

What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.
1. http://play.golang.org/p/Hal0slZDI9

What is the expected output?

Tue%20Aug%2028%2013%3A52%3A20%20UTC%202012

What do you see instead?

Tue+Aug+28+13%3A52%3A20+UTC+2012

Which version are you using?  (run 'go version')

go version go1.0.2 (appengine-1.7.1)

Please provide any additional information below.

http://golang.org/pkg/net/url/ says "Package url parses URLs and implements query
escaping. See RFC 3986.", and spaces ' ' should be %20 rather than +

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