Skip to content

Conversation

@markri
Copy link

@markri markri commented Nov 28, 2012

I found this broken for my node path which was something like
/mypath/pages/23948327.3489

Im sure this fixes my problem. But I think its probably better to check for non-alpha-numeric characters using a regex. But I leave that for the SQL2 gurus since this is my first real encounter with SQL2

I found this broken for my node path which was something like
/mypath/pages/23948327.3489

Im sure this fixes my problem. But its probably better to check for non-alpha-numeric characters using a regex. If so just escape it, i guess it cant hurt that much. But I leave that for the SQL2 gurus since this is my first real encounter with SQL2
@markri
Copy link
Author

markri commented Dec 14, 2012

Any chance this can be merged?

lsmith77 added a commit that referenced this pull request Dec 14, 2012
Dot not escaped in path eval in Sql2Generator.php
@lsmith77 lsmith77 merged commit a7cb98f into phpcr:master Dec 14, 2012
@lsmith77
Copy link
Member

@dbu who ever gets to this first should check if we need to look for non alpha num chars

@dbu
Copy link
Member

dbu commented Dec 14, 2012

hm, why not always quote if its not already quoted? does it do any harm?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants