MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / start_select

Method start_select

thirdparty/clientform/clientform.py:545–558  ·  view source on GitHub ↗
(self, attrs)

Source from the content-addressed store, hash-verified

543 self._current_form = self._global_form
544
545 def start_select(self, attrs):
546 debug("%s", attrs)
547 if self._select is not None:
548 raise ParseError("nested SELECTs")
549 if self._textarea is not None:
550 raise ParseError("SELECT inside TEXTAREA")
551 d = {}
552 for key, val in attrs:
553 d[key] = self.unescape_attr_if_required(val)
554
555 self._select = d
556 self._add_label(d)
557
558 self._append_select_control({"__select": d})
559
560 def end_select(self):
561 debug("")

Callers

nothing calls this directly

Calls 5

_add_labelMethod · 0.95
ParseErrorClass · 0.85
debugFunction · 0.70

Tested by

no test coverage detected