Open nhp opened 5 years ago
Also added store_id handling as this could also be an issue and we added more specific result-status codes to reflect on what really was the problem instead of only returning 200 and especially 500.
Do we still have open issues here?
Any update on this one?
Here I have found a small Problem. I will Update the PR in the next days.
@ResuBaka hi! any update on the PR changes?
I will update in the next days.
The problem is that I need to send the request URLs html encoded.
Added a new controller to be able to access the old rewrites vsf-api knows nothing about. It simply makes a DB call to core_url_rewrite, filtered by request_path and returns only the new final target.
Usage
Simply called by /vsbridge/rewrite/target?request_path=old_url this returns {"code":200,"result":"target_path"}
As we agreed with Łukasz Romanowicz on slack we should bring this functionality to the main magento1 trunk.