You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "Greg Jenci (JIRA)" <ji...@apache.org> on 2005/11/21 14:34:42 UTC
[jira] Created: (FOR-736) LocationMap fails to find files with embedded spaces in the URL
LocationMap fails to find files with embedded spaces in the URL
---------------------------------------------------------------
Key: FOR-736
URL: http://issues.apache.org/jira/browse/FOR-736
Project: Forrest
Type: Bug
Components: Locationmap
Versions: 0.8-dev
Environment: Suspect all environments, but tested in Forrest r345489 & jdk1.5.0_05 running on WinXP
Reporter: Greg Jenci
The LocationMap fails to find files that have spaces embedded in the URL. For instance, in my case, it will find
http://10.222.12.456/open/System%20Identification%20Report.pdf
But fails to find it as
http://10.222.12.456/open/System Identification Report.pdf
Incidentally, for information on resolving to PDF files please see http://www.mail-archive.com/user@forrest.apache.org/msg01212.html
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Updated: (FOR-736) LocationMap fails to find files with embedded spaces in the URL
Posted by "Ross Gardler (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/FOR-736?page=all ]
Ross Gardler updated FOR-736:
-----------------------------
Fix Version: 0.8-dev
> LocationMap fails to find files with embedded spaces in the URL
> ---------------------------------------------------------------
>
> Key: FOR-736
> URL: http://issues.apache.org/jira/browse/FOR-736
> Project: Forrest
> Type: Bug
> Components: Locationmap
> Versions: 0.8-dev
> Environment: Suspect all environments, but tested in Forrest r345489 & jdk1.5.0_05 running on WinXP
> Reporter: Greg Jenci
> Fix For: 0.8-dev
>
> The LocationMap fails to find files that have spaces embedded in the URL. For instance, in my case, it will find
> http://10.222.12.456/open/System%20Identification%20Report.pdf
> But fails to find it as
> http://10.222.12.456/open/System Identification Report.pdf
> Incidentally, for information on resolving to PDF files please see http://www.mail-archive.com/user@forrest.apache.org/msg01212.html
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (FOR-736) LocationMap fails to find files with embedded spaces in the URL
Posted by "Tim Williams (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/FOR-736?page=comments#action_12358148 ]
Tim Williams commented on FOR-736:
----------------------------------
Can someone explain a bit more about this? Spaces that aren't URI encoded aren't a valid URL, right? So why should it worry about them? Maybe I'm missing the issue...
> LocationMap fails to find files with embedded spaces in the URL
> ---------------------------------------------------------------
>
> Key: FOR-736
> URL: http://issues.apache.org/jira/browse/FOR-736
> Project: Forrest
> Type: Bug
> Components: Locationmap
> Versions: 0.8-dev
> Environment: Suspect all environments, but tested in Forrest r345489 & jdk1.5.0_05 running on WinXP
> Reporter: Greg Jenci
> Fix For: 0.8-dev
>
> The LocationMap fails to find files that have spaces embedded in the URL. For instance, in my case, it will find
> http://10.222.12.456/open/System%20Identification%20Report.pdf
> But fails to find it as
> http://10.222.12.456/open/System Identification Report.pdf
> Incidentally, for information on resolving to PDF files please see http://www.mail-archive.com/user@forrest.apache.org/msg01212.html
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Resolved: (FOR-736) LocationMap fails to find files with embedded spaces in the URL
Posted by "Ross Gardler (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/FOR-736?page=all ]
Ross Gardler resolved FOR-736:
------------------------------
Resolution: Fixed
Assign To: Ross Gardler
http: urls are now URL Encoded before being returned. This should solve the problem, do we need to add any other protocols to the URL encoded list?
> LocationMap fails to find files with embedded spaces in the URL
> ---------------------------------------------------------------
>
> Key: FOR-736
> URL: http://issues.apache.org/jira/browse/FOR-736
> Project: Forrest
> Type: Bug
> Components: Locationmap
> Versions: 0.8-dev
> Environment: Suspect all environments, but tested in Forrest r345489 & jdk1.5.0_05 running on WinXP
> Reporter: Greg Jenci
> Assignee: Ross Gardler
> Fix For: 0.8-dev
>
> The LocationMap fails to find files that have spaces embedded in the URL. For instance, in my case, it will find
> http://10.222.12.456/open/System%20Identification%20Report.pdf
> But fails to find it as
> http://10.222.12.456/open/System Identification Report.pdf
> Incidentally, for information on resolving to PDF files please see http://www.mail-archive.com/user@forrest.apache.org/msg01212.html
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (FOR-736) LocationMap fails to find files with embedded spaces in the URL
Posted by "Ross Gardler (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/FOR-736?page=comments#action_12358153 ]
Ross Gardler commented on FOR-736:
----------------------------------
My own thinking is that it is a convenience if we allow people ot enter the URL without the URL encoding. It is much easier to type a space than %20
The same would go for other characters that need encoding. It's simply a case of passing the value through a utility method before returning it as a lcoation isn't it?
> LocationMap fails to find files with embedded spaces in the URL
> ---------------------------------------------------------------
>
> Key: FOR-736
> URL: http://issues.apache.org/jira/browse/FOR-736
> Project: Forrest
> Type: Bug
> Components: Locationmap
> Versions: 0.8-dev
> Environment: Suspect all environments, but tested in Forrest r345489 & jdk1.5.0_05 running on WinXP
> Reporter: Greg Jenci
> Fix For: 0.8-dev
>
> The LocationMap fails to find files that have spaces embedded in the URL. For instance, in my case, it will find
> http://10.222.12.456/open/System%20Identification%20Report.pdf
> But fails to find it as
> http://10.222.12.456/open/System Identification Report.pdf
> Incidentally, for information on resolving to PDF files please see http://www.mail-archive.com/user@forrest.apache.org/msg01212.html
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira