[MGNLREST-132] Response includes JCR query error if the query has an error Created: 24/Oct/17 Updated: 25/Jan/18 Resolved: 19/Jan/18 |
|
| Status: | Closed |
| Project: | Magnolia REST Framework |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.0.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Christopher Zimmermann | Assignee: | Hieu Nguyen Duc |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 1d 0.5h | ||
| Original Estimate: | 1d | ||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||
| Epic Link: | REST Phase2 | ||||||||
| Sprint: | Saigon 127, Saigon 128, Saigon 129, Saigon 130 | ||||||||
| Story Points: | 1 | ||||||||
| Description |
|
The endpoint should not return the query exception. This is a security problem, as it reveals too much about how the system is working. It will also be unexpected by a developer, and reduce trust in the system. (Its OK for it to show up in the logs.) Returns the text: Another example - if i request an endpoint it cannot find "http://localhost:8080/magnoliaAuthor/.rest/delivery/tours" |