-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
special chars should not be allowed in id #207
Comments
Checking this in all exported functions on all things that could eventually turn into a set_id seems like a high price to pay for a regex call. |
The regex is not the point. If you do an assertion (in the super class?), you can be sure that you can use the ids in data.table columns, file names and formulas. |
thats why i created this issue.... |
But what if the user specifies an id with a "." in it? Your way of pasting and splitting ids does not seem to work in this case? |
shouldnt something similar like this even be a helper in cm? seems pretty common case...?
i thought it did? the operations are this: |
i think i could change c), because that is only used when the setids and paramids are already known. |
i would be nicer if the separating dot would be "clearer" / protected. |
has its own issue now: |
we are done here, i added helper assert_id and use this in param ids and paramset ids |
@mllg brought this up here
#206
we should check that a user CANNOT enter anything weird in an id
The text was updated successfully, but these errors were encountered: