You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2021/01/18 08:42:00 UTC

[jira] [Assigned] (SPARK-34151) Replaces `java.io.FIle.toURL` with `java.io.File.toURI.toURL`

     [ https://issues.apache.org/jira/browse/SPARK-34151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Apache Spark reassigned SPARK-34151:
------------------------------------

    Assignee: Apache Spark

> Replaces `java.io.FIle.toURL` with `java.io.File.toURI.toURL`
> -------------------------------------------------------------
>
>                 Key: SPARK-34151
>                 URL: https://issues.apache.org/jira/browse/SPARK-34151
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.2.0
>            Reporter: Yang Jie
>            Assignee: Apache Spark
>            Priority: Minor
>
> `java.io.FIle.toURL` method does not automatically escape characters that are illegal in URLs. It is recommended that new code convert an abstract pathname into a URL by first converting it into a URI, via the `toURI` method, and then converting the URI into a URL via the `URI.toURL` method.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org