Use url.PathEscape() instead of having dataurl.Escape #5

Closed
opened 2021-05-28 09:38:36 +00:00 by MagicalTux · 0 comments
MagicalTux commented 2021-05-28 09:38:36 +00:00 (Migrated from github.com)

The only difference is that uri.PathEscape will also escape ( and ) which while not required is acceptable according to rfc2396. Data uri tend to be used in places where escaping ()s can be useful (css, etc) and as such, golang's implementation makes more sense.

The only difference is that `uri.PathEscape` will also escape `(` and `)` which while not required is acceptable according to rfc2396. Data uri tend to be used in places where escaping `()`s can be useful (css, etc) and as such, golang's implementation makes more sense.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
golibs/datauri#5
No description provided.