Skip to content
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

UrlDecoder->convertAliasToId() correct lookup #614

Closed

Conversation

0bserver
Copy link

Use LIKE '%my%%path%%segment%' pattern for query that will yield the DB row
needed much more likely than a query with the unaltered path segment in the
WHERE clause.

Use LIKE '%my%%path%%segment%' pattern for query that will yield the DB row
needed much more likely than a query with the unaltered path segment in the
WHERE clause.
@dmitryd
Copy link
Owner

dmitryd commented Apr 2, 2018

What??? Can you write that so that I can understand it?

Empty values need to result in a query for "", not "%%".
Force a certain type for $getVarValue, currently only 'int' is used. If no int
is encountered throw 404. This prevents creation of URLs with erroneous
parameters.
Usage example:
  'GETvar' => 'tx_news_pi1[news]',
  'forceType' => 'int',
@dmitryd
Copy link
Owner

dmitryd commented Jul 24, 2018

Too many hacks. Sorry, won't include it.

@dmitryd dmitryd closed this Jul 24, 2018
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.

2 participants