
| Key: |
BLZ-168
|
| Type: |
Minor Enhancement
|
| Status: |
Closed
|
| Resolution: |
Not a Bug
|
| Assignee: |
hsee
|
| Reporter: |
Ivan Latysh
|
| Votes: |
0
|
| Watchers: |
1
|
|
If you were logged in you would be able to see more operations.
|
|
|
BlazeDS
Created: 05/09/08 03:02 PM
Updated: 05/13/08 07:59 AM
|
|
| Component/s: |
Configuration
|
|
Security Level:
|
Public
(All JIRA Users
)
|
|
| Severity: |
Enhancement/Task
|
| Reproducibility: |
Every Time
|
| Discoverability: |
Very Low
|
| Found in Version: |
BlazeDS 3.0.2
|
| Affected OS(s): |
All OS Platforms
- All
|
| Steps to Reproduce: |
getFlexWritePath() method use some weird logic while trying to resolve absolute path as relative.
[quote from method comments]
- must be specified relative to context root starting with '/'
- must be specified as an absolute path
[/quote]
According to javadoc a path that start from '/' is absolute and will be resolved as such.
And method never consult with SecurityManager, when it must.
Attached a class with modified method.
getFlexWritePath() method use some weird logic while trying to resolve absolute path as relative.
[quote from method comments]
- must be specified relative to context root starting with '/'
- must be specified as an absolute path
[/quote]
According to javadoc a path that start from '/' is absolute and will be resolved as such.
And method never consult with SecurityManager, when it must.
Attached a class with modified method.
|
| Language Found: |
English
|
| Bugbase Id: |
none
|
| Triaged: |
No
|
| Regression: |
No
|
| QA Owner: |
hsee
|
| Resolved by: |
Mete Atamel
|
| Participants: |
hsee, Ivan Latysh and Mete Atamel
|
| Browser: |
Firefox 2.x
|
| JDK: |
Sun JDK 6
|
| Application Server: |
JBoss Applications Server 4.2.x
|
|
All
|
Comments
|
|
Sort Order:
|
|