[jira] Commented: (SLING-637) Add regexp based mapping rules
[ https://issues.apache.org/jira/browse/SLING-637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12627462#action_12627462 ] Vidar S. Ramdal commented on SLING-637: --- This would be highly useful. Could this also be used to implement SLING-249? > Add regexp based mapping rules > -- > > Key: SLING-637 > URL: https://issues.apache.org/jira/browse/SLING-637 > Project: Sling > Issue Type: New Feature > Components: JCR Resource >Affects Versions: JCR Resource 2.0.2 >Reporter: Carsten Ziegeler >Assignee: Carsten Ziegeler > Fix For: JCR Resource 2.0.4 > > > Currently the url mapping in the jcr resolver is path based. > it would be nice to provide some regexp rewriting rules, for instance to > beautify urls. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (SLING-637) Add regexp based mapping rules
[ https://issues.apache.org/jira/browse/SLING-637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12627482#action_12627482 ] Carsten Ziegeler commented on SLING-637: Hmm, no I don't think that this could be used for SLING-249, sorry. The reg exp are executed on the resulting path and are not taking any additional information into account, like host etc. > Add regexp based mapping rules > -- > > Key: SLING-637 > URL: https://issues.apache.org/jira/browse/SLING-637 > Project: Sling > Issue Type: New Feature > Components: JCR Resource >Affects Versions: JCR Resource 2.0.2 >Reporter: Carsten Ziegeler >Assignee: Carsten Ziegeler > Fix For: JCR Resource 2.0.4 > > > Currently the url mapping in the jcr resolver is path based. > it would be nice to provide some regexp rewriting rules, for instance to > beautify urls. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (SLING-637) Add regexp based mapping rules
[ https://issues.apache.org/jira/browse/SLING-637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12627538#action_12627538 ] Vidar S. Ramdal commented on SLING-637: --- Still a great feature. I made some attempts at implementing SLING-249, but put it away after running into problems with resolution of sling.include()d stuff. If these problems are taken into account when implementing URL rewriting, I'd like to try to extend it to take the host header into the equation. > Add regexp based mapping rules > -- > > Key: SLING-637 > URL: https://issues.apache.org/jira/browse/SLING-637 > Project: Sling > Issue Type: New Feature > Components: JCR Resource >Affects Versions: JCR Resource 2.0.2 >Reporter: Carsten Ziegeler >Assignee: Carsten Ziegeler > Fix For: JCR Resource 2.0.4 > > > Currently the url mapping in the jcr resolver is path based. > it would be nice to provide some regexp rewriting rules, for instance to > beautify urls. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: [jira] Commented: (SLING-637) Add regexp based mapping rules
Vidar S. Ramdal (JIRA) wrote: > > Still a great feature. I made some attempts at implementing SLING-249, but > put it away after running into problems with resolution of sling.include()d > stuff. > If these problems are taken into account when implementing URL rewriting, > I'd like to try to extend it to take the host header into the equation. > Hi, if you have a patch available just attach it to the bug. Then someone of the developers has a chance to review it and perhaps might detect the problem and help. Carsten -- Carsten Ziegeler [EMAIL PROTECTED]