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

No output when template references placeholder number > # of params #1

Open
jakubklimek opened this issue May 11, 2016 · 0 comments
Open

Comments

@jakubklimek
Copy link

I have an HTML template like this:

<html>
<head>
<title>[@0]</title>
</head>
<body>
<p>0: [@0]</p>
<ol>
<li>[@1]</li>
<li>[@2]</li>
<li>[@3]</li>
<li>[@4]</li>
<li>[@5]</li>
<li>[@6]</li>
<li>[@7]</li>
<li>[@8]</li>
</ol>
</body>
</html>

And an apache rewrite rule like this:

RewriteRule ^/gen/(.*)$ http://localhost:8080/dynrdf/data?url=http://linked.opendata.cz/gen/$1 [P]

When I access http://linked.opendata.cz/gen/year/2015/1/2, the output is OK. When I access http://linked.opendata.cz/gen/year/2015/1 I get nothing, probably due to the template referencing [@8] when there are only 7 parameters.

I would expect the output of [@8] to be empty, but the output should be generated.

Chasic added a commit that referenced this issue May 14, 2016
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

No branches or pull requests

1 participant