Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2015-04

Discussion of mantis #27923 & #27927, esp. for Michael van Canneyt

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

leledumbo

#27923:
Do you use nginx?
if yes then
__Do you use the conf file inside the zip?
__if yes then
____well, that's weird...
__else
____mind sharing your nginx config? though it actually is the same as the one I asked here a few years ago, I can't make it work with my current nginx else
__someone else using nginx can make it work?

#27927:

(which seems to be the first time "using actions" section appears): "http://mysite/mycgi.cgi/user/delete&id=12

would execute the action named 'delete'. This is equivalent to the URL

http://mysite/mycgi.cgi/user?action=delete&id=12"

That equivalency is false, right? Just confirming before I edit that part...

Reply by email

Michael Van Canneyt
to leledumbo
leledumbo wrote
#27923: Do you use nginx?

No.

Michael.

Show quoted text 20 lines
if yes then __Do you use the conf file inside the zip? __if yes then ____well, that's weird... __else ____mind sharing your nginx config? though it actually is the same as the one I asked here a few years ago, I can't make it work with my current nginx else __someone else using nginx can make it work? #27927: > From http://wiki.lazarus.freepascal.org/index.php?title=fcl-web&oldid=65617 (which seems to be the first time "using actions" section appears): "http://mysite/mycgi.cgi/user/delete&id=12 would execute the action named 'delete'. This is equivalent to the URL http://mysite/mycgi.cgi/user?action=delete&id=12" That equivalency is false, right? Just confirming before I edit that part...

I checked svn logs, there has never been a default value for action variable name.

Now, the wiki says

"The 'ActionVar' property of the module can be used to set the name of the request variable to use."

Which is correct.

I can see where you got the idea that "action" is the default action variable name, so maybe it is best to edit that page and add a note to that section.

We could obviously introduce a default for this variable, but I am afraid it could cause problems with existing code.

Michael.

Reply by email