sanskrit-lexicon / PWG

Boehtlingk und Roth Sanskrit Wörterbuch, 7 Bände Petersburg 1855-1875
0 stars 0 forks source link

Please specify a Sanskrit or and English word, not both #3

Closed gasyoun closed 3 years ago

gasyoun commented 9 years ago

If "Text Word:" means an English word, I would state that. Maybe. "Text Word (English, German):". I wanted to find the shortest headword that starts with "a" and ends with "h" and realised I can't do it on web, ok. http://www.sanskrit-lexicon.uni-koeln.de/scans/PWGScan/2013/web/webtc2/index.php advanced

drdhaval2785 commented 3 years ago

Now the world seems to have moved ahead a lot. I tried with a*h and suffix settings in https://www.sanskrit-lexicon.uni-koeln.de/scans/PWGScan/2020/web/webtc2/index.php, and was amazed to see that now even regexes do work in search. Lovely.

1 अंह्
2 अक्षानह्
3 अक्ष्णयाद्रुह्
4 अद्रुह्
5 अनडुह्
6 अनड्वाह्
funderburkjim commented 3 years ago

Wow!

I never thought to try that. In fact, we need to examine the php code to be sure we aren't allowing arbitrary things, since that can lead to security problems.

The relevant code is in csl-websanlexicon. I've started an issue there. OK for this PWG issue to be closed.

gasyoun commented 3 years ago

In fact, we need to examine the php code to be sure we aren't allowing arbitrary things, since that can lead to security problems.

Exactly.